[][src]Struct libffi::high::types::Type

pub struct Type<T> { /* fields omitted */ }

Represents a C type statically associated with a Rust type.

In particular, the run-time value describes a particular C type, while the type parameter T is the equivalent Rust type. Instances of this type are created via the CType trait.

Methods

impl<T> Type<T>[src]

pub fn into_middle(self) -> Type[src]

Gets the underlying representation as used by the middle layer.

Trait Implementations

impl<T: Clone> Clone for Type<T>[src]

impl<T: Debug> Debug for Type<T>[src]

Auto Trait Implementations

impl<T> !Send for Type<T>

impl<T> !Sync for Type<T>

impl<T> Unpin for Type<T>

impl<T> UnwindSafe for Type<T> where
    T: RefUnwindSafe

impl<T> RefUnwindSafe for Type<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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 = !

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]