pub enum InterfaceDefBodyElement {
Doc(Node<DocComment>),
EndDecl(Node<EndDecl>),
RefDecl(Node<RefDecl>),
ConnectStmt(Node<ConnectStmt>),
}Expand description
Element inside an interface definition body.
Variants§
Trait Implementations§
Source§impl Clone for InterfaceDefBodyElement
impl Clone for InterfaceDefBodyElement
Source§fn clone(&self) -> InterfaceDefBodyElement
fn clone(&self) -> InterfaceDefBodyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterfaceDefBodyElement
impl Debug for InterfaceDefBodyElement
impl Eq for InterfaceDefBodyElement
Source§impl PartialEq for InterfaceDefBodyElement
impl PartialEq for InterfaceDefBodyElement
Source§fn eq(&self, other: &InterfaceDefBodyElement) -> bool
fn eq(&self, other: &InterfaceDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceDefBodyElement
Auto Trait Implementations§
impl Freeze for InterfaceDefBodyElement
impl RefUnwindSafe for InterfaceDefBodyElement
impl Send for InterfaceDefBodyElement
impl Sync for InterfaceDefBodyElement
impl Unpin for InterfaceDefBodyElement
impl UnsafeUnpin for InterfaceDefBodyElement
impl UnwindSafe for InterfaceDefBodyElement
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