pub enum TopLevelEnum<'lt> {
Enum(&'lt EnumDecl),
Struct(&'lt StructDecl),
Fn(&'lt BodyFnDecl),
}
Variants§
Auto Trait Implementations§
impl<'lt> Freeze for TopLevelEnum<'lt>
impl<'lt> !RefUnwindSafe for TopLevelEnum<'lt>
impl<'lt> !Send for TopLevelEnum<'lt>
impl<'lt> !Sync for TopLevelEnum<'lt>
impl<'lt> Unpin for TopLevelEnum<'lt>
impl<'lt> !UnwindSafe for TopLevelEnum<'lt>
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