pub enum Safety {
Safe,
Unsafe(u8),
}Expand description
How a rule participates in search.
Variants§
Safe
Never loses provability — applied eagerly, no branch point.
Unsafe(u8)
May not lead to a proof — forks the search; higher priority tried first.
Trait Implementations§
impl Copy for Safety
impl Eq for Safety
impl StructuralPartialEq for Safety
Auto Trait Implementations§
impl Freeze for Safety
impl RefUnwindSafe for Safety
impl Send for Safety
impl Sync for Safety
impl Unpin for Safety
impl UnsafeUnpin for Safety
impl UnwindSafe for Safety
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