pub struct ToastButtonStyle {
pub label_style_key: Option<String>,
pub label_color_key: Option<String>,
pub state_layer_color_key: Option<String>,
pub hover_state_layer_opacity_key: Option<String>,
pub focus_state_layer_opacity_key: Option<String>,
pub pressed_state_layer_opacity_key: Option<String>,
pub hover_state_layer_opacity: f32,
pub focus_state_layer_opacity: f32,
pub pressed_state_layer_opacity: f32,
pub padding: Edges,
pub radius: Px,
}Fields§
§label_style_key: Option<String>§label_color_key: Option<String>§state_layer_color_key: Option<String>§hover_state_layer_opacity_key: Option<String>§focus_state_layer_opacity_key: Option<String>§pressed_state_layer_opacity_key: Option<String>§hover_state_layer_opacity: f32§focus_state_layer_opacity: f32§pressed_state_layer_opacity: f32§padding: Edges§radius: PxTrait Implementations§
Source§impl Clone for ToastButtonStyle
impl Clone for ToastButtonStyle
Source§fn clone(&self) -> ToastButtonStyle
fn clone(&self) -> ToastButtonStyle
Returns a duplicate of the value. Read more
1.0.0 · 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 ToastButtonStyle
impl Debug for ToastButtonStyle
Auto Trait Implementations§
impl Freeze for ToastButtonStyle
impl RefUnwindSafe for ToastButtonStyle
impl Send for ToastButtonStyle
impl Sync for ToastButtonStyle
impl Unpin for ToastButtonStyle
impl UnsafeUnpin for ToastButtonStyle
impl UnwindSafe for ToastButtonStyle
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