pub enum Restrict {
Const(usize),
Unify(usize),
}Expand description
A Restrict describes a way a particular Field can be limited in the join
Variants§
Const(usize)
The value at Field must equal the provided value
Unify(usize)
The value at Field must equal all other values which were restricted by being Unify’d
to the same provided key
Trait Implementations§
Source§impl Ord for Restrict
impl Ord for Restrict
Source§impl PartialOrd for Restrict
impl PartialOrd for Restrict
impl Copy for Restrict
impl Eq for Restrict
impl StructuralPartialEq for Restrict
Auto Trait Implementations§
impl Freeze for Restrict
impl RefUnwindSafe for Restrict
impl Send for Restrict
impl Sync for Restrict
impl Unpin for Restrict
impl UnwindSafe for Restrict
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