Trait SymbolWithType

Source
pub trait SymbolWithType {
    type Ty;

    // Required method
    fn type_(self) -> Self::Ty;
}
Expand description

A WebIDL symbol with a WebIDL type

Required Associated Types§

Required Methods§

Source

fn type_(self) -> Self::Ty

Implementations on Foreign Types§

Source§

impl<'a> SymbolWithType for SingleArgument<'a>

Source§

type Ty = AttributedType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for VariadicArgument<'a>

Source§

type Ty = Type<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for DictionaryMember<'a>

Source§

type Ty = Type<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for AttributeInterfaceMember<'a>

Source§

type Ty = AttributedType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for AttributeMixinMember<'a>

Source§

type Ty = AttributedType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for AttributeNamespaceMember<'a>

Source§

type Ty = AttributedType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for TypedefDefinition<'a>

Source§

type Ty = AttributedType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for AttributedNonAnyType<'a>

Source§

type Ty = NonAnyType<'a>

Source§

fn type_(self) -> Self::Ty

Source§

impl<'a> SymbolWithType for AttributedType<'a>

Source§

type Ty = Type<'a>

Source§

fn type_(self) -> Self::Ty

Implementors§