Enum moore_svlog_syntax::ast::NetStrength
source · [−]pub enum NetStrength {
Drive(DriveStrength, DriveStrength),
Charge(ChargeStrength),
}
Variants
Drive(DriveStrength, DriveStrength)
Charge(ChargeStrength)
Trait Implementations
sourceimpl<'a> AcceptVisitor<'a> for NetStrength
impl<'a> AcceptVisitor<'a> for NetStrength
sourceimpl Clone for NetStrength
impl Clone for NetStrength
sourcefn clone(&self) -> NetStrength
fn clone(&self) -> NetStrength
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetStrength
impl Debug for NetStrength
sourceimpl<'a> ForEachChild<'a> for NetStrength
impl<'a> ForEachChild<'a> for NetStrength
sourcefn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to each child node.
sourceimpl<'a> ForEachNode<'a> for NetStrength
impl<'a> ForEachNode<'a> for NetStrength
sourcefn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to this node.
sourceimpl PartialEq<NetStrength> for NetStrength
impl PartialEq<NetStrength> for NetStrength
sourcefn eq(&self, other: &NetStrength) -> bool
fn eq(&self, other: &NetStrength) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NetStrength) -> bool
fn ne(&self, other: &NetStrength) -> bool
This method tests for !=
.
sourceimpl<'a> WalkVisitor<'a> for NetStrength
impl<'a> WalkVisitor<'a> for NetStrength
impl Copy for NetStrength
impl Eq for NetStrength
impl StructuralEq for NetStrength
impl StructuralPartialEq for NetStrength
Auto Trait Implementations
impl RefUnwindSafe for NetStrength
impl Send for NetStrength
impl Sync for NetStrength
impl Unpin for NetStrength
impl UnwindSafe for NetStrength
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more