[][src]Enum objc_encode::Encoding

pub enum Encoding<'a> {
    Char,
    Short,
    Int,
    Long,
    LongLong,
    UChar,
    UShort,
    UInt,
    ULong,
    ULongLong,
    Float,
    Double,
    Bool,
    Void,
    String,
    Object,
    Block,
    Class,
    Sel,
    Unknown,
    BitField(u32),
    Pointer(&'a Encoding<'a>),
    Array(u32, &'a Encoding<'a>),
    Struct(&'a str, &'a [Encoding<'a>]),
    Union(&'a str, &'a [Encoding<'a>]),
}

An Objective-C type encoding.

For more information, see Apple's documentation: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html

Variants

CharShortIntLongLongLongUCharUShortUIntULongULongLongFloatDoubleBoolVoidStringObjectBlockClassSelUnknownBitField(u32)Pointer(&'a Encoding<'a>)Array(u32, &'a Encoding<'a>)Struct(&'a str, &'a [Encoding<'a>])Union(&'a str, &'a [Encoding<'a>])

Trait Implementations

impl<'a> PartialEq<Encoding<'a>> for Encoding<'a>[src]

impl<'_> PartialEq<str> for Encoding<'_>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'_> PartialEq<Encoding<'_>> for str[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'a> Eq for Encoding<'a>[src]

impl<'a> Debug for Encoding<'a>[src]

impl<'_> Display for Encoding<'_>[src]

impl<'a> Copy for Encoding<'a>[src]

impl<'a> Clone for Encoding<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for Encoding<'a>

impl<'a> Sync for Encoding<'a>

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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> Into for T where
    U: From<T>, 
[src]

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

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

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