pub enum FixedBound<T> {
Included(T),
Unbounded,
}
Expand description
Same as Bound but without exclusive bounds
Variants§
Included(T)
An inclusive bound
Unbounded
An infinite endpoint. Indicates that there is no bound in this direction
Auto Trait Implementations§
impl<T> Freeze for FixedBound<T>where
T: Freeze,
impl<T> RefUnwindSafe for FixedBound<T>where
T: RefUnwindSafe,
impl<T> Send for FixedBound<T>where
T: Send,
impl<T> Sync for FixedBound<T>where
T: Sync,
impl<T> Unpin for FixedBound<T>where
T: Unpin,
impl<T> UnwindSafe for FixedBound<T>where
T: UnwindSafe,
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