pub enum MoveVerdict {
Allow,
Deny,
}Expand description
A tree move guard’s verdict (docs/tree.md). No Retarget yet: the drop vocabulary is
already positional, so a guard that wants a different target denies and the user drops
where it is allowed.
Variants§
Trait Implementations§
Source§impl Clone for MoveVerdict
impl Clone for MoveVerdict
Source§fn clone(&self) -> MoveVerdict
fn clone(&self) -> MoveVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MoveVerdict
Source§impl Debug for MoveVerdict
impl Debug for MoveVerdict
impl Eq for MoveVerdict
Source§impl PartialEq for MoveVerdict
impl PartialEq for MoveVerdict
impl StructuralPartialEq for MoveVerdict
Auto Trait Implementations§
impl Freeze for MoveVerdict
impl RefUnwindSafe for MoveVerdict
impl Send for MoveVerdict
impl Sync for MoveVerdict
impl Unpin for MoveVerdict
impl UnsafeUnpin for MoveVerdict
impl UnwindSafe for MoveVerdict
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more