Enum LimitBound
pub enum LimitBound {
Low(f64),
High(f64),
}Expand description
One side of an Open::limit call – which end of the stored limit a
range argument sets. Never named by a caller: spelled with ..=/.. on
the standard range types (§6.5).
Variants§
Trait Implementations§
§impl Debug for LimitBound
impl Debug for LimitBound
§impl From<RangeFrom<f64>> for LimitBound
impl From<RangeFrom<f64>> for LimitBound
§impl From<RangeToInclusive<f64>> for LimitBound
impl From<RangeToInclusive<f64>> for LimitBound
§fn from(range: RangeToInclusive<f64>) -> Self
fn from(range: RangeToInclusive<f64>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LimitBound
impl RefUnwindSafe for LimitBound
impl Send for LimitBound
impl Sync for LimitBound
impl Unpin for LimitBound
impl UnsafeUnpin for LimitBound
impl UnwindSafe for LimitBound
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