[−][src]Struct refloctopus::EnumArm
An arm of an enum declaration, describing a variant.
Fields
label: &'static str
Name of the variant in the source code
variant_index: u16
Index into the list of variants, in source order.
discriminant: u16
The discriminant value for variants like this.
attrs: &'db Attr<'db>
decl_kind: DeclKind
fields: ExpectArr<Field<'db>>
Trait Implementations
impl<'db> Clone for EnumArm<'db>
[src]
impl<'db> Copy for EnumArm<'db>
[src]
impl<'db> Debug for EnumArm<'db>
[src]
Auto Trait Implementations
impl<'db> RefUnwindSafe for EnumArm<'db>
[src]
impl<'db> Send for EnumArm<'db>
[src]
impl<'db> Sync for EnumArm<'db>
[src]
impl<'db> Unpin for EnumArm<'db>
[src]
impl<'db> UnwindSafe for EnumArm<'db>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erasable for T
pub unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>
pub const ACK_1_1_0: bool
pub fn erase(this: NonNull<Self>) -> NonNull<Erased>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,