#[non_exhaustive]pub enum AlignmentBaseline {
Alphabetic,
Baseline,
Central,
Ideographic,
Mathematical,
Middle,
TextAfterEdge,
TextBeforeEdge,
}Expand description
A value of alignment-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.
Baseline
baseline.
Central
central.
Ideographic
ideographic.
Mathematical
mathematical.
Middle
middle.
TextAfterEdge
text-after-edge.
TextBeforeEdge
text-before-edge.
Trait Implementations§
Source§impl Clone for AlignmentBaseline
impl Clone for AlignmentBaseline
Source§fn clone(&self) -> AlignmentBaseline
fn clone(&self) -> AlignmentBaseline
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 AlignmentBaseline
impl Debug for AlignmentBaseline
Source§impl Display for AlignmentBaseline
impl Display for AlignmentBaseline
Source§impl PartialEq for AlignmentBaseline
impl PartialEq for AlignmentBaseline
impl StructuralPartialEq for AlignmentBaseline
Auto Trait Implementations§
impl Freeze for AlignmentBaseline
impl RefUnwindSafe for AlignmentBaseline
impl Send for AlignmentBaseline
impl Sync for AlignmentBaseline
impl Unpin for AlignmentBaseline
impl UnsafeUnpin for AlignmentBaseline
impl UnwindSafe for AlignmentBaseline
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