pub struct ConformanceNodePointerDownSelectionContract {
pub input: NodePointerDownInput,
pub expected_claim: PointerGestureClaim,
pub nodes: Vec<NodeId>,
pub edges: Vec<EdgeId>,
pub groups: Vec<GroupId>,
}Expand description
Behavior contract for a node pointer-down selection update and drag claim assertion.
Fields§
§input: NodePointerDownInput§expected_claim: PointerGestureClaim§nodes: Vec<NodeId>§edges: Vec<EdgeId>§groups: Vec<GroupId>Implementations§
Source§impl ConformanceNodePointerDownSelectionContract
impl ConformanceNodePointerDownSelectionContract
pub fn new( input: NodePointerDownInput, expected_claim: PointerGestureClaim, nodes: impl IntoIterator<Item = NodeId>, edges: impl IntoIterator<Item = EdgeId>, ) -> Self
pub fn with_groups(self, groups: impl IntoIterator<Item = GroupId>) -> Self
Trait Implementations§
Source§impl Clone for ConformanceNodePointerDownSelectionContract
impl Clone for ConformanceNodePointerDownSelectionContract
Source§fn clone(&self) -> ConformanceNodePointerDownSelectionContract
fn clone(&self) -> ConformanceNodePointerDownSelectionContract
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 ConformanceNodePointerDownSelectionContract
impl<'de> Deserialize<'de> for ConformanceNodePointerDownSelectionContract
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 ConformanceNodePointerDownSelectionContract
impl PartialEq for ConformanceNodePointerDownSelectionContract
Source§fn eq(&self, other: &ConformanceNodePointerDownSelectionContract) -> bool
fn eq(&self, other: &ConformanceNodePointerDownSelectionContract) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConformanceNodePointerDownSelectionContract
Auto Trait Implementations§
impl Freeze for ConformanceNodePointerDownSelectionContract
impl RefUnwindSafe for ConformanceNodePointerDownSelectionContract
impl Send for ConformanceNodePointerDownSelectionContract
impl Sync for ConformanceNodePointerDownSelectionContract
impl Unpin for ConformanceNodePointerDownSelectionContract
impl UnsafeUnpin for ConformanceNodePointerDownSelectionContract
impl UnwindSafe for ConformanceNodePointerDownSelectionContract
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