pub struct LabeledControlSizing { /* private fields */ }Implementations§
Source§impl LabeledControlSizing
impl LabeledControlSizing
pub fn new() -> Self
pub fn indicator_size(self, value: f32) -> Self
pub fn label_font_size(self, value: f32) -> Self
pub fn has_indicator_size(&self) -> bool
pub fn has_label_font_size(&self) -> bool
pub fn indicator_size_px(&self) -> f32
pub fn label_font_size_px(&self) -> f32
Trait Implementations§
Source§impl Clone for LabeledControlSizing
impl Clone for LabeledControlSizing
Source§fn clone(&self) -> LabeledControlSizing
fn clone(&self) -> LabeledControlSizing
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 moreimpl Copy for LabeledControlSizing
Source§impl Debug for LabeledControlSizing
impl Debug for LabeledControlSizing
Source§impl Default for LabeledControlSizing
impl Default for LabeledControlSizing
Source§fn default() -> LabeledControlSizing
fn default() -> LabeledControlSizing
Returns the “default value” for a type. Read more
Source§impl PartialEq for LabeledControlSizing
impl PartialEq for LabeledControlSizing
impl StructuralPartialEq for LabeledControlSizing
Auto Trait Implementations§
impl Freeze for LabeledControlSizing
impl RefUnwindSafe for LabeledControlSizing
impl Send for LabeledControlSizing
impl Sync for LabeledControlSizing
impl Unpin for LabeledControlSizing
impl UnsafeUnpin for LabeledControlSizing
impl UnwindSafe for LabeledControlSizing
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