Struct pixels_graphics_lib::ui::styles::TooltipStyle
source · pub struct TooltipStyle {
pub text: ColorSet,
pub background: ColorSet,
pub border: ColorSet,
pub shadow: ColorSet,
pub size: TextSize,
pub padding: usize,
}
Fields§
§text: ColorSet
§background: ColorSet
§border: ColorSet
§shadow: ColorSet
§size: TextSize
§padding: usize
Trait Implementations§
source§impl Clone for TooltipStyle
impl Clone for TooltipStyle
source§fn clone(&self) -> TooltipStyle
fn clone(&self) -> TooltipStyle
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 TooltipStyle
impl Debug for TooltipStyle
source§impl Default for TooltipStyle
impl Default for TooltipStyle
source§impl PartialEq<TooltipStyle> for TooltipStyle
impl PartialEq<TooltipStyle> for TooltipStyle
source§fn eq(&self, other: &TooltipStyle) -> bool
fn eq(&self, other: &TooltipStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TooltipStyle
impl StructuralEq for TooltipStyle
impl StructuralPartialEq for TooltipStyle
Auto Trait Implementations§
impl RefUnwindSafe for TooltipStyle
impl Send for TooltipStyle
impl Sync for TooltipStyle
impl Unpin for TooltipStyle
impl UnwindSafe for TooltipStyle
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()
.