pub enum DropOperation {
Cancel = 0,
Forbidden = 1,
Copy = 2,
Move = 3,
}Expand description
What a drop does with what it is given.
Variants§
Trait Implementations§
Source§impl Clone for DropOperation
impl Clone for DropOperation
impl Copy for DropOperation
Source§impl Debug for DropOperation
impl Debug for DropOperation
impl Eq for DropOperation
Source§impl From<Cancel> for DropOperation
impl From<Cancel> for DropOperation
Source§impl From<Copy> for DropOperation
impl From<Copy> for DropOperation
Source§impl From<Forbidden> for DropOperation
impl From<Forbidden> for DropOperation
Source§impl From<Move> for DropOperation
impl From<Move> for DropOperation
Source§impl PartialEq for DropOperation
impl PartialEq for DropOperation
impl StructuralPartialEq for DropOperation
Auto Trait Implementations§
impl Freeze for DropOperation
impl RefUnwindSafe for DropOperation
impl Send for DropOperation
impl Sync for DropOperation
impl Unpin for DropOperation
impl UnsafeUnpin for DropOperation
impl UnwindSafe for DropOperation
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