Trait webidl_utils::symbol::SymbolWithReadOnly

source ·
pub trait SymbolWithReadOnly {
    // Required methods
    fn readonly(&self) -> Option<ReadOnly>;
    fn is_readonly(&self) -> bool;
    fn is_not_readonly(&self) -> bool;
}
Expand description

A WebIDL symbol that may have a readonly modifier

Required Methods§

source

fn readonly(&self) -> Option<ReadOnly>

source

fn is_readonly(&self) -> bool

source

fn is_not_readonly(&self) -> bool

Implementations on Foreign Types§

source§

impl<'a> SymbolWithReadOnly for AttributeInterfaceMember<'a>

source§

fn readonly(&self) -> Option<ReadOnly>

source§

fn is_readonly(&self) -> bool

source§

fn is_not_readonly(&self) -> bool

source§

impl<'a> SymbolWithReadOnly for AttributeMixinMember<'a>

source§

fn readonly(&self) -> Option<ReadOnly>

source§

fn is_readonly(&self) -> bool

source§

fn is_not_readonly(&self) -> bool

source§

impl<'a> SymbolWithReadOnly for MaplikeInterfaceMember<'a>

source§

fn readonly(&self) -> Option<ReadOnly>

source§

fn is_readonly(&self) -> bool

source§

fn is_not_readonly(&self) -> bool

source§

impl<'a> SymbolWithReadOnly for SetlikeInterfaceMember<'a>

source§

fn readonly(&self) -> Option<ReadOnly>

source§

fn is_readonly(&self) -> bool

source§

fn is_not_readonly(&self) -> bool

Implementors§