pub struct TextBoxEdgeStyleValue(pub AutoOr<TextEdge>);Expand description
Represents the style value for text-box-edge as defined in css-inline-3.
The text-box CSS property sets the spacing above and below text based on a font’s typographic features. For example, text-box: trim-both ex alphabetic trims the top to the top of the letter x and the bottom to the bottom of most letters, without descenders.
The grammar is defined as:
auto | <text-edge>Tuple Fields§
§0: AutoOr<TextEdge>Trait Implementations§
Source§impl Clone for TextBoxEdgeStyleValue
impl Clone for TextBoxEdgeStyleValue
Source§fn clone(&self) -> TextBoxEdgeStyleValue
fn clone(&self) -> TextBoxEdgeStyleValue
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 TextBoxEdgeStyleValue
impl Debug for TextBoxEdgeStyleValue
Source§impl Hash for TextBoxEdgeStyleValue
impl Hash for TextBoxEdgeStyleValue
Source§impl Ord for TextBoxEdgeStyleValue
impl Ord for TextBoxEdgeStyleValue
Source§fn cmp(&self, other: &TextBoxEdgeStyleValue) -> Ordering
fn cmp(&self, other: &TextBoxEdgeStyleValue) -> 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 TextBoxEdgeStyleValue
impl<'a> Parse<'a> for TextBoxEdgeStyleValue
Source§impl PartialEq for TextBoxEdgeStyleValue
impl PartialEq for TextBoxEdgeStyleValue
Source§impl PartialOrd for TextBoxEdgeStyleValue
impl PartialOrd for TextBoxEdgeStyleValue
Source§impl<'a> Peek<'a> for TextBoxEdgeStyleValue
impl<'a> Peek<'a> for TextBoxEdgeStyleValue
Source§impl ToCursors for TextBoxEdgeStyleValue
impl ToCursors for TextBoxEdgeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextBoxEdgeStyleValue
impl StructuralPartialEq for TextBoxEdgeStyleValue
Auto Trait Implementations§
impl Freeze for TextBoxEdgeStyleValue
impl RefUnwindSafe for TextBoxEdgeStyleValue
impl Send for TextBoxEdgeStyleValue
impl Sync for TextBoxEdgeStyleValue
impl Unpin for TextBoxEdgeStyleValue
impl UnwindSafe for TextBoxEdgeStyleValue
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