pub struct LeadingLabelCellPaint {
pub icon: Option<IconGlyph>,
pub icon_color: Option<Color>,
pub label_color: Option<Color>,
pub label_weight: FontWeight,
pub padding_left: f32,
pub padding_right: f32,
pub icon_slot_side: Option<f32>,
pub icon_inset: f32,
pub gap: Option<f32>,
}Fields§
§icon: Option<IconGlyph>§icon_color: Option<Color>§label_color: Option<Color>§label_weight: FontWeight§padding_left: f32§padding_right: f32§icon_slot_side: Option<f32>§icon_inset: f32§gap: Option<f32>Implementations§
Source§impl LeadingLabelCellPaint
impl LeadingLabelCellPaint
pub const fn new() -> Self
pub const fn icon(self, icon: IconGlyph) -> Self
pub const fn icon_color(self, color: Color) -> Self
pub const fn label_color(self, color: Color) -> Self
pub const fn label_weight(self, weight: FontWeight) -> Self
pub const fn padding(self, left: f32, right: f32) -> Self
pub const fn icon_slot_side(self, side: f32) -> Self
pub const fn icon_inset(self, inset: f32) -> Self
pub const fn gap(self, gap: f32) -> Self
Trait Implementations§
Source§impl Clone for LeadingLabelCellPaint
impl Clone for LeadingLabelCellPaint
impl Copy for LeadingLabelCellPaint
Source§impl Debug for LeadingLabelCellPaint
impl Debug for LeadingLabelCellPaint
Source§impl Default for LeadingLabelCellPaint
impl Default for LeadingLabelCellPaint
Source§impl PartialEq for LeadingLabelCellPaint
impl PartialEq for LeadingLabelCellPaint
impl StructuralPartialEq for LeadingLabelCellPaint
Auto Trait Implementations§
impl Forget for LeadingLabelCellPaint
impl Freeze for LeadingLabelCellPaint
impl Move for LeadingLabelCellPaint
impl RefUnwindSafe for LeadingLabelCellPaint
impl Send for LeadingLabelCellPaint
impl Sync for LeadingLabelCellPaint
impl Unpin for LeadingLabelCellPaint
impl UnsafeUnpin for LeadingLabelCellPaint
impl UnwindSafe for LeadingLabelCellPaint
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