pub enum Any {
Import(Import),
ImportModule(ImportModule),
}
Expand description
A type-erased language item capable of holding any kind.
Variants§
Trait Implementations§
Source§impl From<ImportModule> for Any
impl From<ImportModule> for Any
Source§fn from(lang: ImportModule) -> Self
fn from(lang: ImportModule) -> Self
Converts to this type from the input type.
Source§impl Ord for Any
impl Ord for Any
Source§impl PartialOrd for Any
impl PartialOrd for Any
impl Eq for Any
impl StructuralPartialEq for Any
Auto Trait Implementations§
impl Freeze for Any
impl RefUnwindSafe for Any
impl Send for Any
impl Sync for Any
impl Unpin for Any
impl UnwindSafe for Any
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