pub struct FieldRules<T> {
pub constraints: &'static [Constraint],
/* private fields */
}Fields§
§constraints: &'static [Constraint]Implementations§
Source§impl<T> FieldRules<T>
impl<T> FieldRules<T>
Source§impl<T: Measured> FieldRules<T>
impl<T: Measured> FieldRules<T>
pub const fn new(constraints: &'static [Constraint]) -> Self
Trait Implementations§
Source§impl<T> Clone for FieldRules<T>
impl<T> Clone for FieldRules<T>
impl<T> Copy for FieldRules<T>
Auto Trait Implementations§
impl<T> Freeze for FieldRules<T>
impl<T> RefUnwindSafe for FieldRules<T>
impl<T> Send for FieldRules<T>
impl<T> Sync for FieldRules<T>
impl<T> Unpin for FieldRules<T>
impl<T> UnsafeUnpin for FieldRules<T>
impl<T> UnwindSafe for FieldRules<T>
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