FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PathIcon

    struct · ferroui-controls · v0.5.0

    struct PathIcon
    

    Represents an icon that uses a vector path as its content.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<PathIcon>
    

    Returns a strong reference to this object.

    Source

    data_property

    fn data_property() -> &'static StyledProperty<Option<Ref<Geometry>>>
    

    Defines the Data property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    data

    fn data(self: &Self) -> Option<Ref<Geometry>>
    

    Gets the geometry drawn by the icon.

    Source

    set_data

    fn set_data(self: &Self, value: impl Into<Nullable<Geometry>>)
    

    Sets the geometry drawn by the icon.

    Source

    Trait implementations

    Availability

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