pub struct IconButtonConfig {
pub icon: String,
pub size: f64,
}Expand description
Configuration for icon button rendering
Fields§
§icon: StringIcon identifier (e.g., “close”, “plus”, “settings”)
size: f64Button size (width and height)
Implementations§
Trait Implementations§
Source§impl Clone for IconButtonConfig
impl Clone for IconButtonConfig
Source§fn clone(&self) -> IconButtonConfig
fn clone(&self) -> IconButtonConfig
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 moreAuto Trait Implementations§
impl Freeze for IconButtonConfig
impl RefUnwindSafe for IconButtonConfig
impl Send for IconButtonConfig
impl Sync for IconButtonConfig
impl Unpin for IconButtonConfig
impl UnsafeUnpin for IconButtonConfig
impl UnwindSafe for IconButtonConfig
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