Struct pixels_graphics_lib::ui::styles::ToggleButtonStyle
source · pub struct ToggleButtonStyle {
pub text: ToggleColorSet,
pub border: ToggleColorSet,
pub shadow: ToggleColorSet,
pub text_size: TextSize,
pub rounding: usize,
}
Fields§
§text: ToggleColorSet
§border: ToggleColorSet
§shadow: ToggleColorSet
§text_size: TextSize
§rounding: usize
Trait Implementations§
source§impl Clone for ToggleButtonStyle
impl Clone for ToggleButtonStyle
source§fn clone(&self) -> ToggleButtonStyle
fn clone(&self) -> ToggleButtonStyle
Returns a copy 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 ToggleButtonStyle
impl Debug for ToggleButtonStyle
source§impl Default for ToggleButtonStyle
impl Default for ToggleButtonStyle
source§impl PartialEq<ToggleButtonStyle> for ToggleButtonStyle
impl PartialEq<ToggleButtonStyle> for ToggleButtonStyle
source§fn eq(&self, other: &ToggleButtonStyle) -> bool
fn eq(&self, other: &ToggleButtonStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ToggleButtonStyle
impl StructuralEq for ToggleButtonStyle
impl StructuralPartialEq for ToggleButtonStyle
Auto Trait Implementations§
impl RefUnwindSafe for ToggleButtonStyle
impl Send for ToggleButtonStyle
impl Sync for ToggleButtonStyle
impl Unpin for ToggleButtonStyle
impl UnwindSafe for ToggleButtonStyle
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<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,
source§fn 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()
.