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