#[non_exhaustive]pub enum TextUnderlinePosition {
Auto,
FromFont,
Left,
Right,
Under,
Raw(Raw),
}Expand description
A value of text-underline-position.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
auto.
FromFont
from-font.
Left
left.
Right
right.
Under
under.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for TextUnderlinePosition
impl Clone for TextUnderlinePosition
Source§fn clone(&self) -> TextUnderlinePosition
fn clone(&self) -> TextUnderlinePosition
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 TextUnderlinePosition
impl Debug for TextUnderlinePosition
Source§impl Display for TextUnderlinePosition
impl Display for TextUnderlinePosition
Source§impl From<Raw> for TextUnderlinePosition
impl From<Raw> for TextUnderlinePosition
Source§fn from(v: Raw) -> TextUnderlinePosition
fn from(v: Raw) -> TextUnderlinePosition
Converts to this type from the input type.
Source§impl PartialEq for TextUnderlinePosition
impl PartialEq for TextUnderlinePosition
impl StructuralPartialEq for TextUnderlinePosition
Auto Trait Implementations§
impl Freeze for TextUnderlinePosition
impl RefUnwindSafe for TextUnderlinePosition
impl Send for TextUnderlinePosition
impl Sync for TextUnderlinePosition
impl Unpin for TextUnderlinePosition
impl UnsafeUnpin for TextUnderlinePosition
impl UnwindSafe for TextUnderlinePosition
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