Selection
struct · ferroui-designer-tools · v0.5.0
struct Selection
Members
nodes
fn nodes(self: &Self) -> Vec<NodeId>
primary
fn primary(self: &Self) -> Option<NodeId>
set_locked
fn set_locked(self: &mut Self, node: NodeId, locked: bool)
set_hidden
fn set_hidden(self: &mut Self, node: NodeId, hidden: bool)
select
fn select(self: &mut Self, document: &Document, node: NodeId, mode: SelectionMode) -> Result<()>
hit_test
fn hit_test(self: &Self, document: &Document, point: Point, paint_order: &[(NodeId, Rect)]) -> Result<Option<NodeId>>
marquee
fn marquee(self: &mut Self, document: &Document, bounds: Rect, paint_order: &[(NodeId, Rect)], fully_contained: bool, mode: SelectionMode) -> Result<()>
prune
fn prune(self: &mut Self, document: &Document)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebugDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.