Struct debris_hir::hir_nodes::HirStruct
source · pub struct HirStruct {
pub span: Span,
pub ident: SpannedIdentifier,
pub attributes: Vec<Attribute>,
pub properties: Vec<HirPropertyDeclaration>,
pub objects: Vec<HirObject>,
}
Expand description
A struct definition
Fields§
§span: Span
§ident: SpannedIdentifier
§attributes: Vec<Attribute>
§properties: Vec<HirPropertyDeclaration>
All declared properties of this struct
objects: Vec<HirObject>
Trait Implementations§
source§impl PartialEq for HirStruct
impl PartialEq for HirStruct
impl Eq for HirStruct
impl StructuralEq for HirStruct
impl StructuralPartialEq for HirStruct
Auto Trait Implementations§
impl RefUnwindSafe for HirStruct
impl !Send for HirStruct
impl !Sync for HirStruct
impl Unpin for HirStruct
impl UnwindSafe for HirStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.