Struct objc_encode::encoding::Array [] [src]

pub struct Array<T> where
    T: Encoding
{ /* fields omitted */ }

An encoding for an array.

Methods

impl<T> Array<T> where
    T: Encoding
[src]

Constructs an encoding for an array with the given length and of items with the given encoding.

Trait Implementations

impl<T: Clone> Clone for Array<T> where
    T: Encoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Array<T> where
    T: Encoding
[src]

impl<T: Debug> Debug for Array<T> where
    T: Encoding
[src]

Formats the value using the given formatter.

impl<T> Encoding for Array<T> where
    T: Encoding
[src]

The type of Encoding that Self will use if it is an encoding for a pointer to describe its target. Read more

The type of Encoding that Self will use if it is an encoding for an array to describe its items. Read more

The type of Encodings that Self will use if it is an encoding for a struct to describe its fields. Read more

The type of Encodings that Self will use if it is an encoding for a union to describe its members. Read more

Returns a Descriptor that describes what kind of encoding self is.

Returns whether self is equal to the given Encoding.

Writes the string representation of self to the given writer.

impl<T> Display for Array<T> where
    T: Encoding
[src]

Formats the value using the given formatter. Read more

impl<T, E: ?Sized> PartialEq<E> for Array<T> where
    T: Encoding,
    E: Encoding
[src]

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

This method tests for !=.