Trait webidl_utils::symbol::SymbolWithAttributes

source ·
pub trait SymbolWithAttributes<'a> {
    // Required methods
    fn attributes(self) -> Option<ExtendedAttributeList<'a>>;
    fn has_attributes(&self) -> bool;
}
Expand description

A WebIDL symbol that may have 0 or more extended attributes

Required Methods§

source

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source

fn has_attributes(&self) -> bool

Implementations on Foreign Types§

source§

impl<'a> SymbolWithAttributes<'a> for AttributeInterfaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for AttributeMixinMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for AttributeNamespaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for AttributedNonAnyType<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for AttributedType<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for CallbackDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for CallbackInterfaceDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for ConstMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for ConstructorInterfaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for DictionaryDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for DictionaryMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for DoubleTypedAsyncIterable<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for DoubleTypedIterable<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for EnumDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for ImplementsDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for IncludesStatementDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for InterfaceDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for InterfaceMixinDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for MaplikeInterfaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for NamespaceDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for OperationInterfaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for OperationMixinMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for OperationNamespaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for PartialDictionaryDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for PartialInterfaceDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for PartialInterfaceMixinDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for PartialNamespaceDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for SetlikeInterfaceMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for SingleArgument<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for SingleTypedAsyncIterable<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for SingleTypedIterable<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for StringifierMember<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for TypedefDefinition<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

source§

impl<'a> SymbolWithAttributes<'a> for VariadicArgument<'a>

source§

fn attributes(self) -> Option<ExtendedAttributeList<'a>>

source§

fn has_attributes(&self) -> bool

Implementors§