Struct rune::ast::PatObject[][src]

pub struct PatObject {
    pub attributes: Vec<Attribute>,
    pub ident: ObjectIdent,
    pub items: Braced<Pat, Comma>,
}

An object pattern.

Fields

attributes: Vec<Attribute>

Attributes associated with the object pattern.

ident: ObjectIdent

The identifier of the object pattern.

items: Braced<Pat, Comma>

The fields matched against.

Trait Implementations

impl Clone for PatObject[src]

impl Debug for PatObject[src]

impl Eq for PatObject[src]

impl PartialEq<PatObject> for PatObject[src]

impl Spanned for PatObject[src]

impl StructuralEq for PatObject[src]

impl StructuralPartialEq for PatObject[src]

impl ToTokens for PatObject[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<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.