pub enum WebidlCompoundType {
Function(WebidlFunction),
Dictionary(WebidlDictionary),
Enumeration(WebidlEnumeration),
Union(WebidlUnion),
}
Variants§
Function(WebidlFunction)
Dictionary(WebidlDictionary)
Enumeration(WebidlEnumeration)
Union(WebidlUnion)
Trait Implementations§
Source§impl Clone for WebidlCompoundType
impl Clone for WebidlCompoundType
Source§fn clone(&self) -> WebidlCompoundType
fn clone(&self) -> WebidlCompoundType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebidlCompoundType
impl Debug for WebidlCompoundType
Source§impl From<WebidlDictionary> for WebidlCompoundType
impl From<WebidlDictionary> for WebidlCompoundType
Source§fn from(a: WebidlDictionary) -> Self
fn from(a: WebidlDictionary) -> Self
Converts to this type from the input type.
Source§impl From<WebidlEnumeration> for WebidlCompoundType
impl From<WebidlEnumeration> for WebidlCompoundType
Source§fn from(a: WebidlEnumeration) -> Self
fn from(a: WebidlEnumeration) -> Self
Converts to this type from the input type.
Source§impl From<WebidlFunction> for WebidlCompoundType
impl From<WebidlFunction> for WebidlCompoundType
Source§fn from(a: WebidlFunction) -> Self
fn from(a: WebidlFunction) -> Self
Converts to this type from the input type.
Source§impl From<WebidlUnion> for WebidlCompoundType
impl From<WebidlUnion> for WebidlCompoundType
Source§fn from(a: WebidlUnion) -> Self
fn from(a: WebidlUnion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebidlCompoundType
impl PartialEq for WebidlCompoundType
Source§impl WebidlTypeId for WebidlCompoundType
impl WebidlTypeId for WebidlCompoundType
type Id = Id<WebidlCompoundType>
impl Eq for WebidlCompoundType
impl StructuralPartialEq for WebidlCompoundType
Auto Trait Implementations§
impl Freeze for WebidlCompoundType
impl RefUnwindSafe for WebidlCompoundType
impl Send for WebidlCompoundType
impl Sync for WebidlCompoundType
impl Unpin for WebidlCompoundType
impl UnwindSafe for WebidlCompoundType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more