pub struct Bound {
pub value: Value,
pub inclusive: bool,
}
Expand description
Type interval bound.
Fields§
§value: Value
Value of this bound.
inclusive: bool
Whether the bound is inclusive (the value itself is allowed).
Trait Implementations§
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl !Send for Bound
impl !Sync for Bound
impl Unpin for Bound
impl UnwindSafe for Bound
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