pub struct PartialStyleProperties {Show 18 fields
pub font_stack: Option<FontStack>,
pub font_size_px: Option<f32>,
pub color: Option<ColorU>,
pub letter_spacing: Option<Spacing>,
pub word_spacing: Option<Spacing>,
pub line_height: Option<f32>,
pub text_decoration: Option<TextDecoration>,
pub font_features: Option<Vec<String>>,
pub font_variations: Option<Vec<(FourCc, f32)>>,
pub tab_size: Option<f32>,
pub text_transform: Option<TextTransform>,
pub writing_mode: Option<WritingMode>,
pub text_orientation: Option<TextOrientation>,
pub text_combine_upright: Option<Option<TextCombineUpright>>,
pub font_variant_caps: Option<FontVariantCaps>,
pub font_variant_numeric: Option<FontVariantNumeric>,
pub font_variant_ligatures: Option<FontVariantLigatures>,
pub font_variant_east_asian: Option<FontVariantEastAsian>,
}Fields§
§font_stack: Option<FontStack>§font_size_px: Option<f32>§color: Option<ColorU>§letter_spacing: Option<Spacing>§word_spacing: Option<Spacing>§line_height: Option<f32>§text_decoration: Option<TextDecoration>§font_features: Option<Vec<String>>§font_variations: Option<Vec<(FourCc, f32)>>§tab_size: Option<f32>§text_transform: Option<TextTransform>§writing_mode: Option<WritingMode>§text_orientation: Option<TextOrientation>§text_combine_upright: Option<Option<TextCombineUpright>>§font_variant_caps: Option<FontVariantCaps>§font_variant_numeric: Option<FontVariantNumeric>§font_variant_ligatures: Option<FontVariantLigatures>§font_variant_east_asian: Option<FontVariantEastAsian>Trait Implementations§
Source§impl Clone for PartialStyleProperties
impl Clone for PartialStyleProperties
Source§fn clone(&self) -> PartialStyleProperties
fn clone(&self) -> PartialStyleProperties
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 PartialStyleProperties
impl Debug for PartialStyleProperties
Source§impl Default for PartialStyleProperties
impl Default for PartialStyleProperties
Source§fn default() -> PartialStyleProperties
fn default() -> PartialStyleProperties
Returns the “default value” for a type. Read more
Source§impl Hash for PartialStyleProperties
impl Hash for PartialStyleProperties
Source§impl PartialEq for PartialStyleProperties
impl PartialEq for PartialStyleProperties
impl Eq for PartialStyleProperties
Auto Trait Implementations§
impl Freeze for PartialStyleProperties
impl RefUnwindSafe for PartialStyleProperties
impl Send for PartialStyleProperties
impl Sync for PartialStyleProperties
impl Unpin for PartialStyleProperties
impl UnwindSafe for PartialStyleProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more