#[repr(C)]pub struct TextShadow {
pub color: Color,
pub offset: Point,
pub blur_sigma: f64,
}Fields§
§color: Color§offset: Point§blur_sigma: f64Implementations§
Source§impl TextShadow
impl TextShadow
Trait Implementations§
Source§impl Clone for TextShadow
impl Clone for TextShadow
Source§fn clone(&self) -> TextShadow
fn clone(&self) -> TextShadow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextShadow
impl Debug for TextShadow
Source§impl Default for TextShadow
impl Default for TextShadow
Source§fn default() -> TextShadow
fn default() -> TextShadow
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextShadow
impl PartialEq for TextShadow
Source§fn eq(&self, other: &TextShadow) -> bool
fn eq(&self, other: &TextShadow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextShadow
Auto Trait Implementations§
impl Freeze for TextShadow
impl RefUnwindSafe for TextShadow
impl Send for TextShadow
impl Sync for TextShadow
impl Unpin for TextShadow
impl UnsafeUnpin for TextShadow
impl UnwindSafe for TextShadow
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