pub struct Struct {
pub keyword: Keyword,
pub id: TypeName,
pub parameters: Option<Enclosed<Box<[TypedParameter]>>>,
pub body: Option<Enclosed<Box<[BodiedFunction]>>>,
}
Fields§
§keyword: Keyword
§id: TypeName
§parameters: Option<Enclosed<Box<[TypedParameter]>>>
§body: Option<Enclosed<Box<[BodiedFunction]>>>
Trait Implementations§
Source§impl From<Struct> for TopLevelNode
impl From<Struct> for TopLevelNode
impl StructuralPartialEq for Struct
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