pub enum ArgumentBound {
Unbounded,
Included(ArgumentValue),
Excluded(ArgumentValue),
}Expand description
One side of a numeric range constraint.
Variants§
Unbounded
Places no limit on this side of the range.
Included(ArgumentValue)
Includes the captured endpoint in the range.
Excluded(ArgumentValue)
Excludes the captured endpoint from the range.
Trait Implementations§
Source§impl Clone for ArgumentBound
impl Clone for ArgumentBound
Source§fn clone(&self) -> ArgumentBound
fn clone(&self) -> ArgumentBound
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 ArgumentBound
impl Debug for ArgumentBound
impl Eq for ArgumentBound
Source§impl PartialEq for ArgumentBound
impl PartialEq for ArgumentBound
impl StructuralPartialEq for ArgumentBound
Auto Trait Implementations§
impl Freeze for ArgumentBound
impl RefUnwindSafe for ArgumentBound
impl Send for ArgumentBound
impl Sync for ArgumentBound
impl Unpin for ArgumentBound
impl UnsafeUnpin for ArgumentBound
impl UnwindSafe for ArgumentBound
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