pub struct TextInputColors { /* private fields */ }Implementations§
Source§impl TextInputColors
impl TextInputColors
pub fn new() -> Self
pub fn background(self, color: u32) -> Self
pub fn text_primary(self, color: u32) -> Self
pub fn text_muted(self, color: u32) -> Self
pub fn placeholder(self, color: u32) -> Self
pub fn caret(self, color: u32) -> Self
pub fn border(self, color: u32) -> Self
pub fn accent(self, color: u32) -> Self
pub fn has_background(&self) -> bool
pub fn background_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
pub fn has_placeholder(&self) -> bool
pub fn placeholder_color(&self) -> u32
pub fn has_caret(&self) -> bool
pub fn caret_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
Trait Implementations§
Source§impl Clone for TextInputColors
impl Clone for TextInputColors
Source§fn clone(&self) -> TextInputColors
fn clone(&self) -> TextInputColors
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 TextInputColors
Source§impl Debug for TextInputColors
impl Debug for TextInputColors
Source§impl Default for TextInputColors
impl Default for TextInputColors
Source§fn default() -> TextInputColors
fn default() -> TextInputColors
Returns the “default value” for a type. Read more
impl Eq for TextInputColors
Source§impl PartialEq for TextInputColors
impl PartialEq for TextInputColors
impl StructuralPartialEq for TextInputColors
Auto Trait Implementations§
impl Freeze for TextInputColors
impl RefUnwindSafe for TextInputColors
impl Send for TextInputColors
impl Sync for TextInputColors
impl Unpin for TextInputColors
impl UnsafeUnpin for TextInputColors
impl UnwindSafe for TextInputColors
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