[][src]Enum ddbug_parser::TypeModifierKind

pub enum TypeModifierKind {
    Pointer,
    Reference,
    Const,
    Packed,
    Volatile,
    Restrict,
    Shared,
    RvalueReference,
    Atomic,
    Other,
}

The kind of a type modifier.

Variants

Pointer

The resulting type is a pointer to the type being modified.

Reference

The resulting type is a reference to the type being modified.

Const

The resulting type is a constant.

Packed

The resulting type is packed.

Volatile

The resulting type is volatile.

Restrict

The resulting type has restricted aliasing.

Shared

The resulting type is shared (for example, in UPC).

RvalueReference

The resulting type is a rvalue reference to the type being modified.

Atomic

The resulting type is atomic.

Other

Any other type modifier.

Trait Implementations

impl Clone for TypeModifierKind[src]

impl Copy for TypeModifierKind[src]

impl Debug for TypeModifierKind[src]

impl Eq for TypeModifierKind[src]

impl PartialEq<TypeModifierKind> for TypeModifierKind[src]

impl StructuralEq for TypeModifierKind[src]

impl StructuralPartialEq for TypeModifierKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.