pub struct Variant<'dwarf, R>{ /* private fields */ }Expand description
A variant of an enum.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'dwarf, R> !Freeze for Variant<'dwarf, R>
impl<'dwarf, R> !RefUnwindSafe for Variant<'dwarf, R>
impl<'dwarf, R> !Sync for Variant<'dwarf, R>
impl<'dwarf, R> Send for Variant<'dwarf, R>
impl<'dwarf, R> Unpin for Variant<'dwarf, R>
impl<'dwarf, R> UnsafeUnpin for Variant<'dwarf, R>where
&'dwarf Dwarf<R>: UnsafeUnpin,
&'dwarf Unit<R, usize>: UnsafeUnpin,
DebuggingInformationEntry<'dwarf, 'dwarf, R>: UnsafeUnpin,
impl<'dwarf, R> UnwindSafe for Variant<'dwarf, R>where
&'dwarf Dwarf<R>: UnwindSafe,
&'dwarf Unit<R, usize>: UnwindSafe,
DebuggingInformationEntry<'dwarf, 'dwarf, 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.