[][src]Struct weedle::InterfaceDefinition

pub struct InterfaceDefinition<'a> {
    pub attributes: Option<ExtendedAttributeList<'a>>,
    pub interface: Interface,
    pub identifier: Identifier<'a>,
    pub inheritance: Option<Inheritance<'a>>,
    pub members: Braced<InterfaceMembers<'a>>,
    pub semi_colon: SemiColon,
}

Parses [attributes]? interface identifier ( : inheritance )? { members };

Fields

attributes: Option<ExtendedAttributeList<'a>>interface: Interfaceidentifier: Identifier<'a>inheritance: Option<Inheritance<'a>>members: Braced<InterfaceMembers<'a>>semi_colon: SemiColon

Trait Implementations

impl<'a> Clone for InterfaceDefinition<'a>[src]

impl<'a> Debug for InterfaceDefinition<'a>[src]

impl<'a> Eq for InterfaceDefinition<'a>[src]

impl<'a> From<InterfaceDefinition<'a>> for Definition<'a>[src]

impl<'a> Hash for InterfaceDefinition<'a>[src]

impl<'a> Ord for InterfaceDefinition<'a>[src]

impl<'a> Parse<'a> for InterfaceDefinition<'a>[src]

impl<'a> PartialEq<InterfaceDefinition<'a>> for InterfaceDefinition<'a>[src]

impl<'a> PartialOrd<InterfaceDefinition<'a>> for InterfaceDefinition<'a>[src]

impl<'a> StructuralEq for InterfaceDefinition<'a>[src]

impl<'a> StructuralPartialEq for InterfaceDefinition<'a>[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.