pub enum InterfaceDeclaration {
Nonansi(Box<InterfaceDeclarationNonansi>),
Ansi(Box<InterfaceDeclarationAnsi>),
Wildcard(Box<InterfaceDeclarationWildcard>),
ExternNonansi(Box<InterfaceDeclarationExternNonansi>),
ExternAnsi(Box<InterfaceDeclarationExternAnsi>),
}
Variants§
Nonansi(Box<InterfaceDeclarationNonansi>)
Ansi(Box<InterfaceDeclarationAnsi>)
Wildcard(Box<InterfaceDeclarationWildcard>)
ExternNonansi(Box<InterfaceDeclarationExternNonansi>)
ExternAnsi(Box<InterfaceDeclarationExternAnsi>)
Trait Implementations§
source§impl Clone for InterfaceDeclaration
impl Clone for InterfaceDeclaration
source§fn clone(&self) -> InterfaceDeclaration
fn clone(&self) -> InterfaceDeclaration
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 InterfaceDeclaration
impl Debug for InterfaceDeclaration
source§impl<'a> From<&'a InterfaceDeclaration> for RefNode<'a>
impl<'a> From<&'a InterfaceDeclaration> for RefNode<'a>
source§fn from(x: &'a InterfaceDeclaration) -> RefNode<'a>
fn from(x: &'a InterfaceDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a InterfaceDeclaration> for RefNodes<'a>
impl<'a> From<&'a InterfaceDeclaration> for RefNodes<'a>
source§fn from(x: &'a InterfaceDeclaration) -> RefNodes<'a>
fn from(x: &'a InterfaceDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<InterfaceDeclaration> for AnyNode
impl From<InterfaceDeclaration> for AnyNode
source§fn from(x: InterfaceDeclaration) -> AnyNode
fn from(x: InterfaceDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InterfaceDeclaration
impl<'a> IntoIterator for &'a InterfaceDeclaration
source§impl PartialEq for InterfaceDeclaration
impl PartialEq for InterfaceDeclaration
source§fn eq(&self, other: &InterfaceDeclaration) -> bool
fn eq(&self, other: &InterfaceDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a InterfaceDeclaration> for Locate
impl<'a> TryFrom<&'a InterfaceDeclaration> for Locate
source§impl TryFrom<AnyNode> for InterfaceDeclaration
impl TryFrom<AnyNode> for InterfaceDeclaration
source§impl TryFrom<InterfaceDeclaration> for Locate
impl TryFrom<InterfaceDeclaration> for Locate
impl StructuralPartialEq for InterfaceDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceDeclaration
impl Send for InterfaceDeclaration
impl Sync for InterfaceDeclaration
impl Unpin for InterfaceDeclaration
impl UnwindSafe for InterfaceDeclaration
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