pub struct Box<'dwarf, R>{ /* private fields */ }Expand description
A schema for a shared reference (i.e., &T).
Implementations§
Trait Implementations§
Source§impl<'dwarf, R> From<Box<'dwarf, R>> for Type<'dwarf, R>
Upcast a Box<'dwarf, R> into a Type<'dwarf, R>.
impl<'dwarf, R> From<Box<'dwarf, R>> for Type<'dwarf, R>
Upcast a Box<'dwarf, R> into a Type<'dwarf, R>.
Source§impl<'a, 'value, 'dwarf, R> TryFrom<&'a Type<'dwarf, R>> for &'a Box<'dwarf, R>
Attempt to downcast a &Type<'dwarf, R> into a &Box<'dwarf, R>.
impl<'a, 'value, 'dwarf, R> TryFrom<&'a Type<'dwarf, R>> for &'a Box<'dwarf, R>
Attempt to downcast a &Type<'dwarf, R> into a &Box<'dwarf, R>.
Source§impl<'value, 'dwarf, R> TryFrom<Type<'dwarf, R>> for Box<'dwarf, R>
Attempt to downcast a Type<'dwarf, R> into a Box<'dwarf, R>.
impl<'value, 'dwarf, R> TryFrom<Type<'dwarf, R>> for Box<'dwarf, R>
Attempt to downcast a Type<'dwarf, R> into a Box<'dwarf, R>.
Auto Trait Implementations§
impl<'dwarf, R> Freeze for Box<'dwarf, R>
impl<'dwarf, R> RefUnwindSafe for Box<'dwarf, R>where
&'dwarf Dwarf<R>: RefUnwindSafe,
&'dwarf Unit<R, usize>: RefUnwindSafe,
Option<Name<R>>: RefUnwindSafe,
impl<'dwarf, R> Send for Box<'dwarf, R>
impl<'dwarf, R> Sync for Box<'dwarf, R>
impl<'dwarf, R> Unpin for Box<'dwarf, R>
impl<'dwarf, R> UnsafeUnpin for Box<'dwarf, R>where
&'dwarf Dwarf<R>: UnsafeUnpin,
&'dwarf Unit<R, usize>: UnsafeUnpin,
Option<Name<R>>: UnsafeUnpin,
impl<'dwarf, R> UnwindSafe for Box<'dwarf, R>where
&'dwarf Dwarf<R>: UnwindSafe,
&'dwarf Unit<R, usize>: UnwindSafe,
Option<Name<R>>: UnwindSafe,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Reflect for Twhere
T: ?Sized,
impl<T> Reflect for Twhere
T: ?Sized,
Source§fn local_type_id(&self) -> usize
fn local_type_id(&self) -> usize
Produces an ID that uniquely identifies the type within its compilation
unit.