pub struct TopLevel(/* private fields */);
Trait Implementations§
Source§impl From<BodyFnDecl> for TopLevel
impl From<BodyFnDecl> for TopLevel
Source§fn from(value: BodyFnDecl) -> Self
fn from(value: BodyFnDecl) -> Self
Converts to this type from the input type.
Source§impl From<StructDecl> for TopLevel
impl From<StructDecl> for TopLevel
Source§fn from(value: StructDecl) -> Self
fn from(value: StructDecl) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TopLevel
Auto Trait Implementations§
impl !Freeze for TopLevel
impl !RefUnwindSafe for TopLevel
impl Send for TopLevel
impl !Sync for TopLevel
impl Unpin for TopLevel
impl UnwindSafe for TopLevel
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