pub struct MetaType { /* private fields */ }
Expand description
A metatype abstraction.
Allows to store compile-time type information at runtime. This again allows to derive type ID and type definition from it.
This needs a conversion to another representation of types in order to be serializable.
Implementations§
Trait Implementations§
source§impl Ord for MetaType
impl Ord for MetaType
source§impl PartialOrd for MetaType
impl PartialOrd for MetaType
impl Copy for MetaType
impl Eq for MetaType
Auto Trait Implementations§
impl Freeze for MetaType
impl RefUnwindSafe for MetaType
impl Send for MetaType
impl Sync for MetaType
impl Unpin for MetaType
impl UnwindSafe for MetaType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)