Struct checked_rs::clamp::ClampValidator
source · pub struct ClampValidator<T: UInteger, const L: u128, const U: u128>(/* private fields */);
Trait Implementations§
source§impl<T: Clone + UInteger, const L: u128, const U: u128> Clone for ClampValidator<T, L, U>
impl<T: Clone + UInteger, const L: u128, const U: u128> Clone for ClampValidator<T, L, U>
source§fn clone(&self) -> ClampValidator<T, L, U>
fn clone(&self) -> ClampValidator<T, L, U>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Default + UInteger, const L: u128, const U: u128> Default for ClampValidator<T, L, U>
impl<T: Default + UInteger, const L: u128, const U: u128> Default for ClampValidator<T, L, U>
source§fn default() -> ClampValidator<T, L, U>
fn default() -> ClampValidator<T, L, U>
Returns the “default value” for a type. Read more
impl<T: Copy + UInteger, const L: u128, const U: u128> Copy for ClampValidator<T, L, U>
Auto Trait Implementations§
impl<T, const L: u128, const U: u128> Freeze for ClampValidator<T, L, U>
impl<T, const L: u128, const U: u128> RefUnwindSafe for ClampValidator<T, L, U>where
T: RefUnwindSafe,
impl<T, const L: u128, const U: u128> Send for ClampValidator<T, L, U>where
T: Send,
impl<T, const L: u128, const U: u128> Sync for ClampValidator<T, L, U>where
T: Sync,
impl<T, const L: u128, const U: u128> Unpin for ClampValidator<T, L, U>where
T: Unpin,
impl<T, const L: u128, const U: u128> UnwindSafe for ClampValidator<T, L, U>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