pub struct ColorSettings<T> {
pub background: T,
pub foreground: T,
pub dialog_box: BoxColors<T>,
pub select_box: SelectableBoxColors<T>,
pub revert_box: SelectableBoxColors<T>,
}Fields§
§background: T§foreground: T§dialog_box: BoxColors<T>§select_box: SelectableBoxColors<T>§revert_box: SelectableBoxColors<T>Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for ColorSettings<T>
impl<T: Clone> Clone for ColorSettings<T>
Source§fn clone(&self) -> ColorSettings<T>
fn clone(&self) -> ColorSettings<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for ColorSettings<T>where
T: Freeze,
impl<T> RefUnwindSafe for ColorSettings<T>where
T: RefUnwindSafe,
impl<T> Send for ColorSettings<T>where
T: Send,
impl<T> Sync for ColorSettings<T>where
T: Sync,
impl<T> Unpin for ColorSettings<T>where
T: Unpin,
impl<T> UnwindSafe for ColorSettings<T>where
T: UnwindSafe,
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