FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Selection

    struct · ferroui-designer-tools · v0.5.0

    struct Selection
    

    View source

    Members

    nodes

    fn nodes(self: &Self) -> Vec<NodeId>
    

    Source

    primary

    fn primary(self: &Self) -> Option<NodeId>
    

    Source

    set_locked

    fn set_locked(self: &mut Self, node: NodeId, locked: bool)
    

    Source

    set_hidden

    fn set_hidden(self: &mut Self, node: NodeId, hidden: bool)
    

    Source

    select

    fn select(self: &mut Self, document: &Document, node: NodeId, mode: SelectionMode) -> Result<()>
    

    Source

    hit_test

    fn hit_test(self: &Self, document: &Document, point: Point, paint_order: &[(NodeId, Rect)]) -> Result<Option<NodeId>>
    

    Source

    marquee

    fn marquee(self: &mut Self, document: &Document, bounds: Rect, paint_order: &[(NodeId, Rect)], fully_contained: bool, mode: SelectionMode) -> Result<()>
    

    Source

    prune

    fn prune(self: &mut Self, document: &Document)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.