pub enum ComparisonReference {
Value(Value),
Variable(Reference<Subject, VariableTarget>),
}
Expand description
Comparison reference.
Variants§
Value(Value)
Value comparison reference.
Variable(Reference<Subject, VariableTarget>)
Variable comparison reference.
Trait Implementations§
Source§impl Clone for ComparisonReference
impl Clone for ComparisonReference
Source§fn clone(&self) -> ComparisonReference
fn clone(&self) -> ComparisonReference
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 ComparisonReference
impl Debug for ComparisonReference
Source§impl PartialEq for ComparisonReference
impl PartialEq for ComparisonReference
impl StructuralPartialEq for ComparisonReference
Auto Trait Implementations§
impl Freeze for ComparisonReference
impl RefUnwindSafe for ComparisonReference
impl !Send for ComparisonReference
impl !Sync for ComparisonReference
impl Unpin for ComparisonReference
impl UnwindSafe for ComparisonReference
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