[][src]Struct abi_stable::for_examples::Module

#[repr(C)]pub struct Module {
    pub first: ROption<usize>,
    pub second: RStr<'static>,
    pub third: usize,
}

This type is used in prefix type examples.

Fields

first: ROption<usize>second: RStr<'static>third: usize

Trait Implementations

impl PrefixTypeTrait for Module[src]

type PrefixFields = Module_Prefix

A struct that contains all the fields up to the field annotated with #[sabi(last_prefix_field)] inclusive. Read more

type PrefixRef = Module_Ref

A pointer to Self::PrefixFields, generally wraps a PrefixRef<Self::PrefixFields>. Read more

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> GetWithMetadata for T[src]

type ForSelf = WithMetadata_<T, T>

This is always WithMetadata_<Self, Self>

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

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

impl<This> TransmuteElement for This where
    This: ?Sized
[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, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The error type returned when the conversion fails.

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

type Type = T

The same type as Self. Read more