Struct edlang_ast::Struct
source · pub struct Struct {
pub name: Ident,
pub generics: Vec<Type>,
pub fields: Vec<StructField>,
pub span: Span,
}
Fields§
§name: Ident
§generics: Vec<Type>
§fields: Vec<StructField>
§span: Span
Trait Implementations§
source§impl Ord for Struct
impl Ord for Struct
source§impl PartialEq for Struct
impl PartialEq for Struct
source§impl PartialOrd for Struct
impl PartialOrd for Struct
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Struct
impl StructuralEq for Struct
impl StructuralPartialEq for Struct
Auto Trait Implementations§
impl RefUnwindSafe for Struct
impl Send for Struct
impl Sync for Struct
impl Unpin for Struct
impl UnwindSafe for Struct
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