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: TooltipStyleTrait Implementations§
source§impl PartialEq for UiStyle
impl PartialEq 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<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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
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().