pub struct NullableMeta<'a> { /* private fields */ }
Expand description
Nullable type metadata
Implementations§
Source§impl<'a> NullableMeta<'a>
impl<'a> NullableMeta<'a>
Sourcepub fn new(of_type: Type<'a>) -> Self
pub fn new(of_type: Type<'a>) -> Self
Build a new NullableMeta
type by wrapping the specified Type
.
Sourcepub fn into_meta<S>(self) -> MetaType<'a, S>
pub fn into_meta<S>(self) -> MetaType<'a, S>
Wraps this NullableMeta
type into a generic MetaType
.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NullableMeta<'a>
impl<'a> RefUnwindSafe for NullableMeta<'a>
impl<'a> Send for NullableMeta<'a>
impl<'a> Sync for NullableMeta<'a>
impl<'a> Unpin for NullableMeta<'a>
impl<'a> UnwindSafe for NullableMeta<'a>
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