pub enum Constraint<T: Clone = String> {
Unary(String, fn(&T) -> bool),
Binary(String, String, fn(&T, &T) -> bool),
}
Variants§
Auto Trait Implementations§
impl<T> Freeze for Constraint<T>
impl<T> RefUnwindSafe for Constraint<T>
impl<T> Send for Constraint<T>
impl<T> Sync for Constraint<T>
impl<T> Unpin for Constraint<T>
impl<T> UnwindSafe for Constraint<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