PathIcon
struct · ferroui-controls · v0.5.0
struct PathIcon
Represents an icon that uses a vector path as its content.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PathIcon>
Returns a strong reference to this object.
data_property
fn data_property() -> &'static StyledProperty<Option<Ref<Geometry>>>
Defines the Data property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
data
fn data(self: &Self) -> Option<Ref<Geometry>>
Gets the geometry drawn by the icon.
set_data
fn set_data(self: &Self, value: impl Into<Nullable<Geometry>>)
Sets the geometry drawn by the icon.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<PathIcon>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.