pub struct Struct<'input> {
pub loc: Loc,
pub publ: bool,
pub name: Ident<'input>,
pub members: Vec<StructMember<'input>>,
}
Expand description
A struct declaration.
Fields§
§loc: Loc
§publ: bool
§name: Ident<'input>
§members: Vec<StructMember<'input>>
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Struct<'input>
Auto Trait Implementations§
impl<'input> Freeze for Struct<'input>
impl<'input> RefUnwindSafe for Struct<'input>
impl<'input> Send for Struct<'input>
impl<'input> Sync for Struct<'input>
impl<'input> Unpin for Struct<'input>
impl<'input> UnwindSafe for Struct<'input>
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