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