Struct basalt::interface::on_off_button::OnOffButtonTheme
source · [−]pub struct OnOffButtonTheme {
pub color1: Color,
pub color2: Color,
pub color3: Color,
pub color4: Color,
pub color5: Color,
}
Fields
color1: Color
Color of the container when off
color2: Color
Color of the container when on
color3: Color
Color of the inner slidy bit
color4: Color
Color of the off text color
color5: Color
Color of the on text color
Trait Implementations
sourceimpl Clone for OnOffButtonTheme
impl Clone for OnOffButtonTheme
sourcefn clone(&self) -> OnOffButtonTheme
fn clone(&self) -> OnOffButtonTheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OnOffButtonTheme
impl Debug for OnOffButtonTheme
sourceimpl Default for OnOffButtonTheme
impl Default for OnOffButtonTheme
sourceimpl PartialEq<OnOffButtonTheme> for OnOffButtonTheme
impl PartialEq<OnOffButtonTheme> for OnOffButtonTheme
sourcefn eq(&self, other: &OnOffButtonTheme) -> bool
fn eq(&self, other: &OnOffButtonTheme) -> bool
impl StructuralPartialEq for OnOffButtonTheme
Auto Trait Implementations
impl RefUnwindSafe for OnOffButtonTheme
impl Send for OnOffButtonTheme
impl Sync for OnOffButtonTheme
impl Unpin for OnOffButtonTheme
impl UnwindSafe for OnOffButtonTheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_big_endian()
.sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_native_endian()
.