pub struct TextSizeAdjustStyleValue(pub AutoNoneOr<Percentage>);Expand description
Represents the style value for text-size-adjust as defined in css-size-adjust-1.
The text-size-adjust CSS property disables or modifies the browser’s default text size adjustment for small screen sizes.
The grammar is defined as:
auto | none | <percentage [0,∞]>Tuple Fields§
§0: AutoNoneOr<Percentage>Trait Implementations§
Source§impl Clone for TextSizeAdjustStyleValue
impl Clone for TextSizeAdjustStyleValue
Source§fn clone(&self) -> TextSizeAdjustStyleValue
fn clone(&self) -> TextSizeAdjustStyleValue
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 TextSizeAdjustStyleValue
impl Debug for TextSizeAdjustStyleValue
Source§impl Hash for TextSizeAdjustStyleValue
impl Hash for TextSizeAdjustStyleValue
Source§impl Ord for TextSizeAdjustStyleValue
impl Ord for TextSizeAdjustStyleValue
Source§fn cmp(&self, other: &TextSizeAdjustStyleValue) -> Ordering
fn cmp(&self, other: &TextSizeAdjustStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for TextSizeAdjustStyleValue
impl<'a> Parse<'a> for TextSizeAdjustStyleValue
Source§impl PartialEq for TextSizeAdjustStyleValue
impl PartialEq for TextSizeAdjustStyleValue
Source§impl PartialOrd for TextSizeAdjustStyleValue
impl PartialOrd for TextSizeAdjustStyleValue
Source§impl<'a> Peek<'a> for TextSizeAdjustStyleValue
impl<'a> Peek<'a> for TextSizeAdjustStyleValue
Source§impl ToCursors for TextSizeAdjustStyleValue
impl ToCursors for TextSizeAdjustStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextSizeAdjustStyleValue
impl StructuralPartialEq for TextSizeAdjustStyleValue
Auto Trait Implementations§
impl Freeze for TextSizeAdjustStyleValue
impl RefUnwindSafe for TextSizeAdjustStyleValue
impl Send for TextSizeAdjustStyleValue
impl Sync for TextSizeAdjustStyleValue
impl Unpin for TextSizeAdjustStyleValue
impl UnwindSafe for TextSizeAdjustStyleValue
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