pub struct DebugThemeComponentState {Show 19 fields
pub role: ComponentRole,
pub role_label: String,
pub state: ComponentState,
pub state_label: String,
pub visual_slot: ComponentStateSlot,
pub text_slot: ComponentStateSlot,
pub icon_slot: ComponentStateSlot,
pub fill: ColorRgba,
pub stroke: Option<StrokeStyle>,
pub corner_radius: f32,
pub text_color: ColorRgba,
pub icon_tint: ColorRgba,
pub icon_opacity: f32,
pub min_width: f32,
pub min_height: f32,
pub padding_x: f32,
pub padding_y: f32,
pub gap: f32,
pub icon_size: f32,
}Fields§
§role: ComponentRole§role_label: String§state: ComponentState§state_label: String§visual_slot: ComponentStateSlot§text_slot: ComponentStateSlot§icon_slot: ComponentStateSlot§fill: ColorRgba§stroke: Option<StrokeStyle>§corner_radius: f32§text_color: ColorRgba§icon_tint: ColorRgba§icon_opacity: f32§min_width: f32§min_height: f32§padding_x: f32§padding_y: f32§gap: f32§icon_size: f32Trait Implementations§
Source§impl Clone for DebugThemeComponentState
impl Clone for DebugThemeComponentState
Source§fn clone(&self) -> DebugThemeComponentState
fn clone(&self) -> DebugThemeComponentState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugThemeComponentState
impl Debug for DebugThemeComponentState
Source§impl PartialEq for DebugThemeComponentState
impl PartialEq for DebugThemeComponentState
Source§fn eq(&self, other: &DebugThemeComponentState) -> bool
fn eq(&self, other: &DebugThemeComponentState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugThemeComponentState
Auto Trait Implementations§
impl Freeze for DebugThemeComponentState
impl RefUnwindSafe for DebugThemeComponentState
impl Send for DebugThemeComponentState
impl Sync for DebugThemeComponentState
impl Unpin for DebugThemeComponentState
impl UnsafeUnpin for DebugThemeComponentState
impl UnwindSafe for DebugThemeComponentState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.