pub struct Bounds<T> {
pub min: T,
pub max: T,
}
Expand description
The minimum and maximum values for a generic accessor.
Fields§
§min: T
Minimum value.
max: T
Maximum value.
Trait Implementations§
source§impl<T: PartialEq> PartialEq for Bounds<T>
impl<T: PartialEq> PartialEq for Bounds<T>
impl<T> StructuralPartialEq for Bounds<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Bounds<T>where
T: RefUnwindSafe,
impl<T> Send for Bounds<T>where
T: Send,
impl<T> Sync for Bounds<T>where
T: Sync,
impl<T> Unpin for Bounds<T>where
T: Unpin,
impl<T> UnwindSafe for Bounds<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