MaterialChipLayout
struct · ferroui-themes-material · v0.5.0
struct MaterialChipLayout
Members
TYPEto_refkind_propertyleading_icon_propertyavatar_propertytrailing_icon_propertyis_selected_propertyshow_selected_icon_propertyis_expressive_propertyis_dismissible_propertymotion_scheme_propertyreduced_motion_propertydisplayed_leading_icon_propertydisplayed_avatar_propertydisplayed_trailing_icon_propertyshow_leading_icon_propertyshow_avatar_propertyshow_check_propertyshow_trailing_icon_propertyshow_dismiss_propertyleading_content_width_propertytrailing_content_width_propertykindset_kindleading_iconset_leading_iconavatarset_avatartrailing_iconset_trailing_iconis_selectedset_is_selectedshow_selected_iconset_show_selected_iconis_expressiveset_is_expressiveis_dismissibleset_is_dismissiblemotion_schemeset_motion_schemereduced_motionset_reduced_motiondisplayed_leading_icondisplayed_avatardisplayed_trailing_iconshow_leading_iconshow_avatarshow_checkshow_trailing_iconshow_dismissleading_content_widthtrailing_content_widthconstructnewslot_widthsslot_opacities
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MaterialChipLayout>
Returns a strong reference to this object.
kind_property
fn kind_property() -> &'static StyledProperty<MaterialChipKind>
leading_icon_property
fn leading_icon_property() -> &'static StyledProperty<Option<BoxedValue>>
avatar_property
fn avatar_property() -> &'static StyledProperty<Option<BoxedValue>>
trailing_icon_property
fn trailing_icon_property() -> &'static StyledProperty<Option<BoxedValue>>
is_selected_property
fn is_selected_property() -> &'static StyledProperty<bool>
show_selected_icon_property
fn show_selected_icon_property() -> &'static StyledProperty<bool>
is_expressive_property
fn is_expressive_property() -> &'static StyledProperty<bool>
is_dismissible_property
fn is_dismissible_property() -> &'static StyledProperty<bool>
motion_scheme_property
fn motion_scheme_property() -> &'static StyledProperty<MaterialMotionScheme>
reduced_motion_property
fn reduced_motion_property() -> &'static StyledProperty<bool>
displayed_leading_icon_property
fn displayed_leading_icon_property() -> &'static StyledProperty<Option<BoxedValue>>
displayed_avatar_property
fn displayed_avatar_property() -> &'static StyledProperty<Option<BoxedValue>>
displayed_trailing_icon_property
fn displayed_trailing_icon_property() -> &'static StyledProperty<Option<BoxedValue>>
show_leading_icon_property
fn show_leading_icon_property() -> &'static StyledProperty<bool>
show_avatar_property
fn show_avatar_property() -> &'static StyledProperty<bool>
show_check_property
fn show_check_property() -> &'static StyledProperty<bool>
show_trailing_icon_property
fn show_trailing_icon_property() -> &'static StyledProperty<bool>
show_dismiss_property
fn show_dismiss_property() -> &'static StyledProperty<bool>
leading_content_width_property
fn leading_content_width_property() -> &'static StyledProperty<f64>
trailing_content_width_property
fn trailing_content_width_property() -> &'static StyledProperty<f64>
kind
fn kind(self: &Self) -> MaterialChipKind
set_kind
fn set_kind(self: &Self, value: MaterialChipKind)
leading_icon
fn leading_icon(self: &Self) -> Option<BoxedValue>
set_leading_icon
fn set_leading_icon(self: &Self, value: Option<BoxedValue>)
avatar
fn avatar(self: &Self) -> Option<BoxedValue>
set_avatar
fn set_avatar(self: &Self, value: Option<BoxedValue>)
trailing_icon
fn trailing_icon(self: &Self) -> Option<BoxedValue>
set_trailing_icon
fn set_trailing_icon(self: &Self, value: Option<BoxedValue>)
is_selected
fn is_selected(self: &Self) -> bool
set_is_selected
fn set_is_selected(self: &Self, value: bool)
show_selected_icon
fn show_selected_icon(self: &Self) -> bool
set_show_selected_icon
fn set_show_selected_icon(self: &Self, value: bool)
is_expressive
fn is_expressive(self: &Self) -> bool
set_is_expressive
fn set_is_expressive(self: &Self, value: bool)
is_dismissible
fn is_dismissible(self: &Self) -> bool
set_is_dismissible
fn set_is_dismissible(self: &Self, value: bool)
motion_scheme
fn motion_scheme(self: &Self) -> MaterialMotionScheme
set_motion_scheme
fn set_motion_scheme(self: &Self, value: MaterialMotionScheme)
reduced_motion
fn reduced_motion(self: &Self) -> bool
set_reduced_motion
fn set_reduced_motion(self: &Self, value: bool)
displayed_leading_icon
fn displayed_leading_icon(self: &Self) -> Option<BoxedValue>
displayed_avatar
fn displayed_avatar(self: &Self) -> Option<BoxedValue>
displayed_trailing_icon
fn displayed_trailing_icon(self: &Self) -> Option<BoxedValue>
show_leading_icon
fn show_leading_icon(self: &Self) -> bool
show_avatar
fn show_avatar(self: &Self) -> bool
show_check
fn show_check(self: &Self) -> bool
show_trailing_icon
fn show_trailing_icon(self: &Self) -> bool
show_dismiss
fn show_dismiss(self: &Self) -> bool
leading_content_width
fn leading_content_width(self: &Self) -> f64
trailing_content_width
fn trailing_content_width(self: &Self) -> f64
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
slot_widths
fn slot_widths(self: &Self) -> (f64, f64)
slot_opacities
fn slot_opacities(self: &Self) -> (f64, f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>ControlImplExtPanelImplExtDerefUpcast<T>Upcast<MaterialChipLayout>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplPanelImplFerroObjectImplVisualImplLayoutableImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.