pub struct Bound<T, B> {
pub limit: T,
pub bound_type: B,
}Fields§
§limit: T§bound_type: BImplementations§
Trait Implementations§
Source§impl<T, B, LR> From<Bound<T, B>> for HalfBounded<T, B, LR>
impl<T, B, LR> From<Bound<T, B>> for HalfBounded<T, B, LR>
Source§impl<T: Ord, B: Ord> Ord for Bound<T, B>
impl<T: Ord, B: Ord> Ord for Bound<T, B>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd, B: PartialOrd> PartialOrd for Bound<T, B>
impl<T: PartialOrd, B: PartialOrd> PartialOrd for Bound<T, B>
impl<T: Copy, B: Copy> Copy for Bound<T, B>
impl<T: Eq, B: Eq> Eq for Bound<T, B>
impl<T, B> StructuralPartialEq for Bound<T, B>
Auto Trait Implementations§
impl<T, B> Freeze for Bound<T, B>
impl<T, B> RefUnwindSafe for Bound<T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
impl<T, B> Send for Bound<T, B>
impl<T, B> Sync for Bound<T, B>
impl<T, B> Unpin for Bound<T, B>
impl<T, B> UnwindSafe for Bound<T, B>where
T: UnwindSafe,
B: 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