pub struct Struct<'a> {
pub name: Ident<'a>,
pub members: Vec<StructMember<'a>>,
}
Fields§
§name: Ident<'a>
§members: Vec<StructMember<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Struct<'a>
impl<'a> RefUnwindSafe for Struct<'a>
impl<'a> Send for Struct<'a>
impl<'a> Sync for Struct<'a>
impl<'a> Unpin for Struct<'a>
impl<'a> UnwindSafe for Struct<'a>
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