Struct pixels_graphics_lib::ui::styles::UiStyle
source · pub struct UiStyle {
pub button: ButtonStyle,
pub text_field: TextFieldStyle,
pub toggle_button: ToggleButtonStyle,
pub alert: AlertStyle,
pub dialog: DialogStyle,
pub background: Color,
pub title_text: TextFormat,
pub body_text: TextFormat,
pub tooltip: TooltipStyle,
pub icon_button: IconButtonStyle,
pub toggle_icon_button: ToggleIconButtonStyle,
}
Fields§
§text_field: TextFieldStyle
§alert: AlertStyle
§dialog: DialogStyle
§background: Color
§title_text: TextFormat
§body_text: TextFormat
§tooltip: TooltipStyle
Trait Implementations§
source§impl PartialEq<UiStyle> for UiStyle
impl PartialEq<UiStyle> for UiStyle
impl Eq for UiStyle
impl StructuralEq for UiStyle
impl StructuralPartialEq for UiStyle
Auto Trait Implementations§
impl RefUnwindSafe for UiStyle
impl Send for UiStyle
impl Sync for UiStyle
impl Unpin for UiStyle
impl UnwindSafe for UiStyle
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()
.