pub enum InterfaceClassItem {
TypeDeclaration(Box<TypeDeclaration>),
Method(Box<InterfaceClassItemMethod>),
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol)>),
ParameterDeclaration(Box<(ParameterDeclaration, Symbol)>),
Null(Box<Symbol>),
}
Variants§
TypeDeclaration(Box<TypeDeclaration>)
Method(Box<InterfaceClassItemMethod>)
LocalParameterDeclaration(Box<(LocalParameterDeclaration, Symbol)>)
ParameterDeclaration(Box<(ParameterDeclaration, Symbol)>)
Null(Box<Symbol>)
Trait Implementations§
source§impl Clone for InterfaceClassItem
impl Clone for InterfaceClassItem
source§fn clone(&self) -> InterfaceClassItem
fn clone(&self) -> InterfaceClassItem
Returns a copy 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 InterfaceClassItem
impl Debug for InterfaceClassItem
source§impl<'a> From<&'a InterfaceClassItem> for RefNode<'a>
impl<'a> From<&'a InterfaceClassItem> for RefNode<'a>
source§fn from(x: &'a InterfaceClassItem) -> Self
fn from(x: &'a InterfaceClassItem) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a InterfaceClassItem> for RefNodes<'a>
impl<'a> From<&'a InterfaceClassItem> for RefNodes<'a>
source§fn from(x: &'a InterfaceClassItem) -> Self
fn from(x: &'a InterfaceClassItem) -> Self
Converts to this type from the input type.
source§impl From<InterfaceClassItem> for AnyNode
impl From<InterfaceClassItem> for AnyNode
source§fn from(x: InterfaceClassItem) -> Self
fn from(x: InterfaceClassItem) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InterfaceClassItem
impl<'a> IntoIterator for &'a InterfaceClassItem
source§impl PartialEq for InterfaceClassItem
impl PartialEq for InterfaceClassItem
source§fn eq(&self, other: &InterfaceClassItem) -> bool
fn eq(&self, other: &InterfaceClassItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a InterfaceClassItem> for Locate
impl<'a> TryFrom<&'a InterfaceClassItem> for Locate
source§impl TryFrom<AnyNode> for InterfaceClassItem
impl TryFrom<AnyNode> for InterfaceClassItem
source§impl TryFrom<InterfaceClassItem> for Locate
impl TryFrom<InterfaceClassItem> for Locate
impl StructuralPartialEq for InterfaceClassItem
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceClassItem
impl Send for InterfaceClassItem
impl Sync for InterfaceClassItem
impl Unpin for InterfaceClassItem
impl UnwindSafe for InterfaceClassItem
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