pub struct ColorPicker {
pub value: String,
pub label: String,
}Fields§
§value: String§label: StringImplementations§
Source§impl ColorPicker
impl ColorPicker
pub fn new() -> ColorPicker
pub fn value(self, value: String) -> ColorPicker
pub fn label(self, label: String) -> ColorPicker
Trait Implementations§
Source§impl Clone for ColorPicker
impl Clone for ColorPicker
Source§fn clone(&self) -> ColorPicker
fn clone(&self) -> ColorPicker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorPicker
impl Debug for ColorPicker
Source§impl Default for ColorPicker
impl Default for ColorPicker
Source§fn default() -> ColorPicker
fn default() -> ColorPicker
Returns the “default value” for a type. Read more
Source§impl Hash for ColorPicker
impl Hash for ColorPicker
Source§impl PartialEq for ColorPicker
impl PartialEq for ColorPicker
Source§impl Renderable for ColorPicker
impl Renderable for ColorPicker
impl Eq for ColorPicker
impl StructuralPartialEq for ColorPicker
Auto Trait Implementations§
impl Freeze for ColorPicker
impl RefUnwindSafe for ColorPicker
impl Send for ColorPicker
impl Sync for ColorPicker
impl Unpin for ColorPicker
impl UnwindSafe for ColorPicker
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