pub enum ValueConstraint {
Default(String),
Fixed(String),
}Expand description
Value constraint kind
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ValueConstraint
impl Clone for ValueConstraint
Source§fn clone(&self) -> ValueConstraint
fn clone(&self) -> ValueConstraint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValueConstraint
impl Debug for ValueConstraint
impl Eq for ValueConstraint
Source§impl PartialEq for ValueConstraint
impl PartialEq for ValueConstraint
Source§fn eq(&self, other: &ValueConstraint) -> bool
fn eq(&self, other: &ValueConstraint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValueConstraint
Auto Trait Implementations§
impl Freeze for ValueConstraint
impl RefUnwindSafe for ValueConstraint
impl Send for ValueConstraint
impl Sync for ValueConstraint
impl Unpin for ValueConstraint
impl UnsafeUnpin for ValueConstraint
impl UnwindSafe for ValueConstraint
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