pub struct ConformanceDeleteSelectionDuringNodeDragContract {
pub start: NodeDragStart,
pub end: NodeDragEnd,
pub delete: ConformanceDeleteSelectionContract,
}Expand description
Behavior contract for deleting the active selection mid-drag and then ending the drag as canceled.
Fields§
§start: NodeDragStart§end: NodeDragEnd§delete: ConformanceDeleteSelectionContractImplementations§
Source§impl ConformanceDeleteSelectionDuringNodeDragContract
impl ConformanceDeleteSelectionDuringNodeDragContract
pub fn new( start: NodeDragStart, end: NodeDragEnd, delete: ConformanceDeleteSelectionContract, ) -> Self
Trait Implementations§
Source§impl Clone for ConformanceDeleteSelectionDuringNodeDragContract
impl Clone for ConformanceDeleteSelectionDuringNodeDragContract
Source§fn clone(&self) -> ConformanceDeleteSelectionDuringNodeDragContract
fn clone(&self) -> ConformanceDeleteSelectionDuringNodeDragContract
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 moreSource§impl<'de> Deserialize<'de> for ConformanceDeleteSelectionDuringNodeDragContract
impl<'de> Deserialize<'de> for ConformanceDeleteSelectionDuringNodeDragContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConformanceDeleteSelectionDuringNodeDragContract
impl PartialEq for ConformanceDeleteSelectionDuringNodeDragContract
Source§fn eq(&self, other: &ConformanceDeleteSelectionDuringNodeDragContract) -> bool
fn eq(&self, other: &ConformanceDeleteSelectionDuringNodeDragContract) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceDeleteSelectionDuringNodeDragContract
Auto Trait Implementations§
impl Freeze for ConformanceDeleteSelectionDuringNodeDragContract
impl RefUnwindSafe for ConformanceDeleteSelectionDuringNodeDragContract
impl Send for ConformanceDeleteSelectionDuringNodeDragContract
impl Sync for ConformanceDeleteSelectionDuringNodeDragContract
impl Unpin for ConformanceDeleteSelectionDuringNodeDragContract
impl UnsafeUnpin for ConformanceDeleteSelectionDuringNodeDragContract
impl UnwindSafe for ConformanceDeleteSelectionDuringNodeDragContract
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