pub struct Pointer<'dwarf, K, R>{ /* private fields */ }Expand description
A schema for a shared reference (i.e., &T).
Implementations§
Trait Implementations§
Source§impl<'dwarf, R> From<Pointer<'dwarf, Const, R>> for Type<'dwarf, R>
Upcast a ConstPtr<'dwarf, R> into a Type<'dwarf, R>.
impl<'dwarf, R> From<Pointer<'dwarf, Const, R>> for Type<'dwarf, R>
Upcast a ConstPtr<'dwarf, R> into a Type<'dwarf, R>.
Source§impl<'dwarf, R> From<Pointer<'dwarf, Mut, R>> for Type<'dwarf, R>
Upcast a MutPtr<'dwarf, R> into a Type<'dwarf, R>.
impl<'dwarf, R> From<Pointer<'dwarf, Mut, R>> for Type<'dwarf, R>
Upcast a MutPtr<'dwarf, R> into a Type<'dwarf, R>.
Auto Trait Implementations§
impl<'dwarf, K, R> Freeze for Pointer<'dwarf, K, R>
impl<'dwarf, K, R> RefUnwindSafe for Pointer<'dwarf, K, R>where
&'dwarf Dwarf<R>: RefUnwindSafe,
&'dwarf Unit<R, usize>: RefUnwindSafe,
Option<Name<R>>: RefUnwindSafe,
PhantomData<K>: RefUnwindSafe,
impl<'dwarf, K, R> Send for Pointer<'dwarf, K, R>
impl<'dwarf, K, R> Sync for Pointer<'dwarf, K, R>
impl<'dwarf, K, R> Unpin for Pointer<'dwarf, K, R>
impl<'dwarf, K, R> UnsafeUnpin for Pointer<'dwarf, K, R>where
&'dwarf Dwarf<R>: UnsafeUnpin,
&'dwarf Unit<R, usize>: UnsafeUnpin,
Option<Name<R>>: UnsafeUnpin,
PhantomData<K>: UnsafeUnpin,
impl<'dwarf, K, R> UnwindSafe for Pointer<'dwarf, K, R>where
&'dwarf Dwarf<R>: UnwindSafe,
&'dwarf Unit<R, usize>: UnwindSafe,
Option<Name<R>>: UnwindSafe,
PhantomData<K>: 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.