Struct objc_encode::encoding::Pointer [] [src]

pub struct Pointer<T>(_)
where
    T: Encoding
;

An encoding for a pointer.

Methods

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

Constructs an encoding for a pointer to a target with the given encoding.

Trait Implementations

impl<T: Clone> Clone for Pointer<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 Pointer<T> where
    T: Encoding
[src]

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

Formats the value using the given formatter.

impl<T> Encoding for Pointer<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 Pointer<T> where
    T: Encoding
[src]

Formats the value using the given formatter. Read more

impl<T, E: ?Sized> PartialEq<E> for Pointer<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 !=.