pub enum ModeFlag {
In,
Out,
Either,
}Expand description
Per-argument mode flag for a relation declared via (mode …).
Variants§
In
+input: caller must supply a ground argument here.
Out
-output: the relation is expected to produce a value here.
Either
*either: no directionality constraint.
Implementations§
Trait Implementations§
impl Copy for ModeFlag
impl Eq for ModeFlag
impl StructuralPartialEq for ModeFlag
Auto Trait Implementations§
impl Freeze for ModeFlag
impl RefUnwindSafe for ModeFlag
impl Send for ModeFlag
impl Sync for ModeFlag
impl Unpin for ModeFlag
impl UnsafeUnpin for ModeFlag
impl UnwindSafe for ModeFlag
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