#[non_exhaustive]pub enum DominantBaseline {
Alphabetic,
Auto,
Central,
Hanging,
Ideographic,
Mathematical,
Middle,
TextBottom,
TextTop,
}Expand description
A value of dominant-baseline.
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.
Alphabetic
alphabetic.
Auto
auto.
Central
central.
Hanging
hanging.
Ideographic
ideographic.
Mathematical
mathematical.
Middle
middle.
TextBottom
text-bottom.
TextTop
text-top.
Trait Implementations§
Source§impl Clone for DominantBaseline
impl Clone for DominantBaseline
Source§fn clone(&self) -> DominantBaseline
fn clone(&self) -> DominantBaseline
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 DominantBaseline
impl Debug for DominantBaseline
Source§impl Display for DominantBaseline
impl Display for DominantBaseline
Source§impl PartialEq for DominantBaseline
impl PartialEq for DominantBaseline
impl StructuralPartialEq for DominantBaseline
Auto Trait Implementations§
impl Freeze for DominantBaseline
impl RefUnwindSafe for DominantBaseline
impl Send for DominantBaseline
impl Sync for DominantBaseline
impl Unpin for DominantBaseline
impl UnsafeUnpin for DominantBaseline
impl UnwindSafe for DominantBaseline
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