pub struct LabeledControlColors { /* private fields */ }Implementations§
Source§impl LabeledControlColors
impl LabeledControlColors
pub fn new() -> Self
pub fn background(self, color: u32) -> Self
pub fn border(self, color: u32) -> Self
pub fn accent(self, color: u32) -> Self
pub fn text_primary(self, color: u32) -> Self
pub fn text_muted(self, color: u32) -> Self
pub fn has_background(&self) -> bool
pub fn background_color(&self) -> u32
pub fn has_border(&self) -> bool
pub fn border_color(&self) -> u32
pub fn has_accent(&self) -> bool
pub fn accent_color(&self) -> u32
pub fn has_text_primary(&self) -> bool
pub fn text_primary_color(&self) -> u32
pub fn has_text_muted(&self) -> bool
pub fn text_muted_color(&self) -> u32
Trait Implementations§
Source§impl Clone for LabeledControlColors
impl Clone for LabeledControlColors
Source§fn clone(&self) -> LabeledControlColors
fn clone(&self) -> LabeledControlColors
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 LabeledControlColors
Source§impl Debug for LabeledControlColors
impl Debug for LabeledControlColors
Source§impl Default for LabeledControlColors
impl Default for LabeledControlColors
Source§fn default() -> LabeledControlColors
fn default() -> LabeledControlColors
Returns the “default value” for a type. Read more
impl Eq for LabeledControlColors
Source§impl PartialEq for LabeledControlColors
impl PartialEq for LabeledControlColors
impl StructuralPartialEq for LabeledControlColors
Auto Trait Implementations§
impl Freeze for LabeledControlColors
impl RefUnwindSafe for LabeledControlColors
impl Send for LabeledControlColors
impl Sync for LabeledControlColors
impl Unpin for LabeledControlColors
impl UnsafeUnpin for LabeledControlColors
impl UnwindSafe for LabeledControlColors
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