FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GeometryCollection

    struct · ferroui-base · v0.5.0

    struct GeometryCollection
    

    A collection of Geometry objects that notifies its parent GeometryGroup of changes.

    Cloning the handle shares the collection; equality is by identity.

    View source

    Members

    new

    fn new() -> Self
    

    Creates an empty collection.

    Source

    from_items

    fn from_items(items: impl IntoIterator<Item = Ref<Geometry>>) -> Self
    

    Creates a collection holding items.

    Source

    parent

    fn parent(self: &Self) -> Option<Ref<GeometryGroup>>
    

    The group that owns the collection.

    Source

    set_parent

    fn set_parent(self: &Self, value: Option<&Ref<GeometryGroup>>)
    

    Sets the group that owns the collection.

    Source

    Trait implementations

    Availability

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