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