Enum objc2_encode::Encoding[][src]

pub enum Encoding<'a> {
Show 25 variants 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>]),
}
Expand description

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

Char
Short
Int
Long
LongLong
UChar
UShort
UInt
ULong
ULongLong
Float
Double
Bool
Void
String
Object
Block
Class
Sel
Unknown
BitField(u32)

Tuple Fields of BitField

0: u32
Pointer(&'a Encoding<'a>)

Tuple Fields of Pointer

0: &'a Encoding<'a>
Array(u32, &'a Encoding<'a>)

Tuple Fields of Array

0: u321: &'a Encoding<'a>
Struct(&'a str&'a [Encoding<'a>])

Tuple Fields of Struct

0: &'a str1: &'a [Encoding<'a>]
Union(&'a str&'a [Encoding<'a>])

Tuple Fields of Union

0: &'a str1: &'a [Encoding<'a>]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.