pub struct Constraints<T> {
pub min: Size<T>,
pub max: Size<T>,
}Fields§
§min: Size<T>§max: Size<T>Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Constraints<T>
impl<T: Clone> Clone for Constraints<T>
impl<T: Copy> Copy for Constraints<T>
Source§impl<T: Debug> Debug for Constraints<T>
impl<T: Debug> Debug for Constraints<T>
Source§impl<T: PartialEq> PartialEq for Constraints<T>
impl<T: PartialEq> PartialEq for Constraints<T>
impl<T: PartialEq> StructuralPartialEq for Constraints<T>
Auto Trait Implementations§
impl<T> Forget for Constraints<T>
impl<T> Freeze for Constraints<T>where
T: Freeze,
impl<T> Move for Constraints<T>
impl<T> RefUnwindSafe for Constraints<T>where
T: RefUnwindSafe,
impl<T> Send for Constraints<T>where
T: Send,
impl<T> Sync for Constraints<T>where
T: Sync,
impl<T> Unpin for Constraints<T>where
T: Unpin,
impl<T> UnsafeUnpin for Constraints<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Constraints<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