pub struct Struct {
pub id: HirId,
pub name: Symbol,
pub fields: Vec<Field>,
pub span: Span,
}Expand description
Struct definition
Fields§
§id: HirId§name: Symbol§fields: Vec<Field>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for Struct
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