pub struct BorderConstraint;Expand description
Adapter for border validation
Trait Implementations§
Source§impl Constraint for BorderConstraint
impl Constraint for BorderConstraint
fn id(&self) -> &'static str
fn kind(&self) -> ConstraintKind
fn evaluate(&self, ctx: &ConstraintContext<'_>) -> ConstraintResult
Auto Trait Implementations§
impl Freeze for BorderConstraint
impl RefUnwindSafe for BorderConstraint
impl Send for BorderConstraint
impl Sync for BorderConstraint
impl Unpin for BorderConstraint
impl UnwindSafe for BorderConstraint
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