Struct pixels_graphics_lib::ui::styles::TextFieldStyle
source · pub struct TextFieldStyle {
pub text_color: FocusColorSet,
pub text_size: TextSize,
pub background_color: FocusColorSet,
pub border_color: FocusColorSet,
pub cursor: FocusColorSet,
}
Fields§
§text_color: FocusColorSet
§text_size: TextSize
§background_color: FocusColorSet
§border_color: FocusColorSet
§cursor: FocusColorSet
Trait Implementations§
source§impl Clone for TextFieldStyle
impl Clone for TextFieldStyle
source§fn clone(&self) -> TextFieldStyle
fn clone(&self) -> TextFieldStyle
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 TextFieldStyle
impl Debug for TextFieldStyle
source§impl Default for TextFieldStyle
impl Default for TextFieldStyle
source§impl PartialEq<TextFieldStyle> for TextFieldStyle
impl PartialEq<TextFieldStyle> for TextFieldStyle
source§fn eq(&self, other: &TextFieldStyle) -> bool
fn eq(&self, other: &TextFieldStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TextFieldStyle
impl StructuralEq for TextFieldStyle
impl StructuralPartialEq for TextFieldStyle
Auto Trait Implementations§
impl RefUnwindSafe for TextFieldStyle
impl Send for TextFieldStyle
impl Sync for TextFieldStyle
impl Unpin for TextFieldStyle
impl UnwindSafe for TextFieldStyle
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()
.