Struct syntex_syntax::ptr::P [] [src]

pub struct P<T: ?Sized> { /* fields omitted */ }

An owned smart pointer.

Methods

impl<T: 'static> P<T>
[src]

Move out of the pointer. Intended for chaining transformations not covered by map.

Equivalent to and_then(|x| x)

Transform the inner value, consuming self and producing a new P<T>.

impl<T> P<[T]>
[src]

Trait Implementations

impl<T> MoveMap<T> for P<[T]>
[src]

impl<T: HasAttrs + 'static> HasAttrs for P<T>
[src]

impl<T: Hash + ?Sized> Hash for P<T>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<T: PartialEq + ?Sized> PartialEq for P<T>
[src]

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

This method tests for !=.

impl<T: Eq + ?Sized> Eq for P<T>
[src]

impl<T: PartialOrd + ?Sized> PartialOrd for P<T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Ord + ?Sized> Ord for P<T>
[src]

This method returns an Ordering between self and other. Read more

impl<T: ?Sized> Deref for P<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T: 'static + Clone> Clone for P<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: ?Sized + Debug> Debug for P<T>
[src]

Formats the value using the given formatter.

impl<T: Display> Display for P<T>
[src]

Formats the value using the given formatter.

impl<T> Pointer for P<T>
[src]

Formats the value using the given formatter.

impl<T: 'static + Decodable> Decodable for P<T>
[src]

Deserialize a value using a Decoder.

impl<T: Encodable> Encodable for P<T>
[src]

Serialize a value using an Encoder.

impl<T> Default for P<[T]>
[src]

Creates an empty P<[T]>.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

impl<T> Into<Vec<T>> for P<[T]>
[src]

Performs the conversion.

impl<T> FromIterator<T> for P<[T]>
[src]

Creates a value from an iterator. Read more

impl<T> IntoIterator for P<[T]>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a P<[T]>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T: Encodable> Encodable for P<[T]>
[src]

Serialize a value using an Encoder.

impl<T: Decodable> Decodable for P<[T]>
[src]

Deserialize a value using a Decoder.

impl ToTokens for P<Item>
[src]

impl ToTokens for P<ImplItem>
[src]

impl ToTokens for P<Expr>
[src]

impl ToTokens for P<Pat>
[src]

impl ToTokens for P<Block>
[src]