pub struct LiquidTab {
pub icon: &'static str,
pub label: &'static str,
pub icon_style: LiquidTabIconStyle,
pub icon_scale: f32,
}Expand description
One tab: icon path data (24×24 viewBox), label, and icon treatment.
Fields§
§icon: &'static str§label: &'static str§icon_style: LiquidTabIconStyle§icon_scale: f32Optical correction for symbols whose path bounds do not fill the shared icon frame uniformly.
Implementations§
Trait Implementations§
impl StructuralPartialEq for LiquidTab
Auto Trait Implementations§
impl Freeze for LiquidTab
impl RefUnwindSafe for LiquidTab
impl Send for LiquidTab
impl Sync for LiquidTab
impl Unpin for LiquidTab
impl UnsafeUnpin for LiquidTab
impl UnwindSafe for LiquidTab
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