pub enum SignedMetricRef {
Pos(MetricRef),
Neg(MetricRef),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SignedMetricRef
impl Clone for SignedMetricRef
Source§fn clone(&self) -> SignedMetricRef
fn clone(&self) -> SignedMetricRef
Returns a duplicate 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 SignedMetricRef
impl Debug for SignedMetricRef
Source§impl From<MetricRef> for SignedMetricRef
impl From<MetricRef> for SignedMetricRef
Source§impl From<SignedMetricRef> for MarginEdge
impl From<SignedMetricRef> for MarginEdge
Source§fn from(value: SignedMetricRef) -> Self
fn from(value: SignedMetricRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignedMetricRef
impl RefUnwindSafe for SignedMetricRef
impl Send for SignedMetricRef
impl Sync for SignedMetricRef
impl Unpin for SignedMetricRef
impl UnsafeUnpin for SignedMetricRef
impl UnwindSafe for SignedMetricRef
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