pub struct PlatformTextStyle {
pub span_style: Option<PlatformSpanStyle>,
pub paragraph_style: Option<PlatformParagraphStyle>,
}Fields§
§span_style: Option<PlatformSpanStyle>§paragraph_style: Option<PlatformParagraphStyle>Trait Implementations§
Source§impl Clone for PlatformTextStyle
impl Clone for PlatformTextStyle
Source§fn clone(&self) -> PlatformTextStyle
fn clone(&self) -> PlatformTextStyle
Returns a duplicate 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 PlatformTextStyle
impl Debug for PlatformTextStyle
Source§impl Default for PlatformTextStyle
impl Default for PlatformTextStyle
Source§fn default() -> PlatformTextStyle
fn default() -> PlatformTextStyle
Returns the “default value” for a type. Read more
Source§impl Hash for PlatformTextStyle
impl Hash for PlatformTextStyle
Source§impl PartialEq for PlatformTextStyle
impl PartialEq for PlatformTextStyle
impl Copy for PlatformTextStyle
impl Eq for PlatformTextStyle
impl StructuralPartialEq for PlatformTextStyle
Auto Trait Implementations§
impl Freeze for PlatformTextStyle
impl RefUnwindSafe for PlatformTextStyle
impl Send for PlatformTextStyle
impl Sync for PlatformTextStyle
impl Unpin for PlatformTextStyle
impl UnsafeUnpin for PlatformTextStyle
impl UnwindSafe for PlatformTextStyle
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