pub(crate) struct Composite<T> {
pub(crate) val: T,
pub(crate) min: T,
pub(crate) max: T,
}
Fields§
§val: T
§min: T
§max: T
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Composite<T>
impl<T> StructuralPartialEq for Composite<T>
Auto Trait Implementations§
impl<T> Freeze for Composite<T>where
T: Freeze,
impl<T> RefUnwindSafe for Composite<T>where
T: RefUnwindSafe,
impl<T> Send for Composite<T>where
T: Send,
impl<T> Sync for Composite<T>where
T: Sync,
impl<T> Unpin for Composite<T>where
T: Unpin,
impl<T> UnwindSafe for Composite<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