[][src]Struct syn::TypePtr

pub struct TypePtr {
    pub star_token: Star,
    pub const_token: Option<Const>,
    pub mutability: Option<Mut>,
    pub elem: Box<Type>,

A raw pointer type: *const T or *mut T.

This type is available only if Syn is built with the "derive" or "full" feature.


star_token: Starconst_token: Option<Const>mutability: Option<Mut>elem: Box<Type>

Trait Implementations

impl Clone for TypePtr[src]

impl Debug for TypePtr[src]

impl Eq for TypePtr[src]

impl From<TypePtr> for Type[src]

impl Hash for TypePtr[src]

impl Parse for TypePtr[src]

impl PartialEq<TypePtr> for TypePtr[src]

impl StructuralEq for TypePtr[src]

impl StructuralPartialEq for TypePtr[src]

impl ToTokens for TypePtr[src]

Auto Trait Implementations

impl !RefUnwindSafe for TypePtr

impl !Send for TypePtr

impl !Sync for TypePtr

impl Unpin for TypePtr

impl UnwindSafe for TypePtr

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Spanned for T where
    T: Spanned + ?Sized

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.