pub enum ValueOperand {
Binding {
binding: BindingId,
},
Literal {
value: CanonicalValue,
},
}Expand description
One typed operand in a value comparison.
Variants§
Binding
Read the scalar value of an attribute binding.
Literal
Compare with an exact canonical literal.
Fields
§
value: CanonicalValueThe exact canonical scalar to compare against.
Implementations§
Source§impl ValueOperand
impl ValueOperand
Trait Implementations§
Source§impl Clone for ValueOperand
impl Clone for ValueOperand
Source§impl Debug for ValueOperand
impl Debug for ValueOperand
impl Eq for ValueOperand
Source§impl PartialEq for ValueOperand
impl PartialEq for ValueOperand
Source§impl Serialize for ValueOperand
impl Serialize for ValueOperand
impl StructuralPartialEq for ValueOperand
Auto Trait Implementations§
impl Freeze for ValueOperand
impl RefUnwindSafe for ValueOperand
impl Send for ValueOperand
impl Sync for ValueOperand
impl Unpin for ValueOperand
impl UnsafeUnpin for ValueOperand
impl UnwindSafe for ValueOperand
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