#[non_exhaustive]pub enum UnsupportedPolicy {
Decline,
Atomize,
}Expand description
What to do with subterms outside the fragment.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Decline
Decline the root (the default).
Atomize
Treat maximal outside subterms as opaque atoms (sound under total semantics; opt-in).
Trait Implementations§
Source§impl Clone for UnsupportedPolicy
impl Clone for UnsupportedPolicy
impl Copy for UnsupportedPolicy
Source§impl Debug for UnsupportedPolicy
impl Debug for UnsupportedPolicy
impl Eq for UnsupportedPolicy
Source§impl Hash for UnsupportedPolicy
impl Hash for UnsupportedPolicy
Source§impl PartialEq for UnsupportedPolicy
impl PartialEq for UnsupportedPolicy
impl StructuralPartialEq for UnsupportedPolicy
Auto Trait Implementations§
impl Forget for UnsupportedPolicy
impl Freeze for UnsupportedPolicy
impl Move for UnsupportedPolicy
impl RefUnwindSafe for UnsupportedPolicy
impl Send for UnsupportedPolicy
impl Sync for UnsupportedPolicy
impl Unpin for UnsupportedPolicy
impl UnsafeUnpin for UnsupportedPolicy
impl UnwindSafe for UnsupportedPolicy
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