[][src]Struct walrus::TypedCustomSectionId

pub struct TypedCustomSectionId<T> where
    T: CustomSection
{ /* fields omitted */ }

The id of a CustomSection instance with a statically-known type in a ModuleCustomSections.

Trait Implementations

impl<T> CustomSectionId for TypedCustomSectionId<T> where
    T: CustomSection
[src]

type CustomSection = T

The concrete custom section type that this id gets out of a ModuleCustomSections. Read more

impl<T> From<TypedCustomSectionId<T>> for UntypedCustomSectionId where
    T: CustomSection
[src]

impl<T> Clone for TypedCustomSectionId<T> where
    T: CustomSection
[src]

impl<T> Copy for TypedCustomSectionId<T> where
    T: CustomSection
[src]

impl<T> Eq for TypedCustomSectionId<T> where
    T: CustomSection
[src]

impl<T> PartialEq<TypedCustomSectionId<T>> for TypedCustomSectionId<T> where
    T: CustomSection
[src]

impl<T> Debug for TypedCustomSectionId<T> where
    T: CustomSection
[src]

impl<T> Hash for TypedCustomSectionId<T> where
    T: CustomSection
[src]

Auto Trait Implementations

impl<T> Send for TypedCustomSectionId<T>

impl<T> Sync for TypedCustomSectionId<T>

impl<T> Unpin for TypedCustomSectionId<T> where
    T: Unpin

impl<T> UnwindSafe for TypedCustomSectionId<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for TypedCustomSectionId<T> where
    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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]