[][src]Struct destruct_lib::DestructBegin

pub struct DestructBegin<T, M: DestructMetadata + 'static> {
    pub fields: T,
    // some fields omitted
}

Fields

fields: T

Methods

impl<T, M: DestructMetadata + 'static> DestructBegin<T, M>[src]

pub fn new(fields: T) -> Self[src]

Constructs a new DestructBegin.

impl<T, M: DestructMetadata + 'static> DestructBegin<T, M>[src]

pub fn struct_name(&self) -> &'static str[src]

Trait Implementations

impl<T: Eq, M: Eq + DestructMetadata + 'static> Eq for DestructBegin<T, M>[src]

impl<T: PartialEq, M: PartialEq + DestructMetadata + 'static> PartialEq<DestructBegin<T, M>> for DestructBegin<T, M>[src]

impl<T: Debug, M: Debug + DestructMetadata + 'static> Debug for DestructBegin<T, M>[src]

impl<T, M: DestructMetadata + 'static> StructuralPartialEq for DestructBegin<T, M>[src]

impl<T, M: DestructMetadata + 'static> StructuralEq for DestructBegin<T, M>[src]

Auto Trait Implementations

impl<T, M> Send for DestructBegin<T, M> where
    M: Sync,
    T: Send

impl<T, M> Sync for DestructBegin<T, M> where
    M: Sync,
    T: Sync

impl<T, M> Unpin for DestructBegin<T, M> where
    T: Unpin

impl<T, M> UnwindSafe for DestructBegin<T, M> where
    M: RefUnwindSafe,
    T: UnwindSafe

impl<T, M> RefUnwindSafe for DestructBegin<T, M> where
    M: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]