Struct freya_engine::prelude::Decoration
#[repr(C)]pub struct Decoration {
pub ty: TextDecoration,
pub mode: skia_textlayout_TextDecorationMode,
pub color: Color,
pub style: skia_textlayout_TextDecorationStyle,
pub thickness_multiplier: f32,
}
Fields§
§ty: TextDecoration
§mode: skia_textlayout_TextDecorationMode
§color: Color
§style: skia_textlayout_TextDecorationStyle
§thickness_multiplier: f32
Trait Implementations§
§impl Clone for Decoration
impl Clone for Decoration
§fn clone(&self) -> Decoration
fn clone(&self) -> Decoration
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 more§impl Debug for Decoration
impl Debug for Decoration
§impl Default for Decoration
impl Default for Decoration
§fn default() -> Decoration
fn default() -> Decoration
Returns the “default value” for a type. Read more
§impl PartialEq for Decoration
impl PartialEq for Decoration
§fn eq(&self, other: &Decoration) -> bool
fn eq(&self, other: &Decoration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Decoration
impl StructuralPartialEq for Decoration
Auto Trait Implementations§
impl Freeze for Decoration
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
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