PersonPictureTemplateSettings
struct · ferroui-controls · v0.5.0
struct PersonPictureTemplateSettings
The values the template of a PersonPicture binds to: the initials it
shows and the brush of its picture. Each picture has its own; the picture sets them.
Members
TYPEto_refactual_initials_propertyactual_image_brush_propertyconstructnewactual_initialsactual_image_brush
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PersonPictureTemplateSettings>
Returns a strong reference to this object.
actual_initials_property
fn actual_initials_property() -> &'static StyledProperty<String>
Defines the ActualInitials property: the initials the picture shows.
actual_image_brush_property
fn actual_image_brush_property() -> &'static StyledProperty<Option<Ref<ImageBrush>>>
Defines the ActualImageBrush property: the brush of the picture, None without one.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the settings of a picture.
actual_initials
fn actual_initials(self: &Self) -> String
Gets the initials the picture shows.
actual_image_brush
fn actual_image_brush(self: &Self) -> Option<Ref<ImageBrush>>
Gets the brush of the picture.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<PersonPictureTemplateSettings>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.