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