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