Enum usvg_tree::DominantBaseline
source · pub enum DominantBaseline {
Auto,
UseScript,
NoChange,
ResetSize,
Ideographic,
Alphabetic,
Hanging,
Mathematical,
Central,
Middle,
TextAfterEdge,
TextBeforeEdge,
}
Expand description
A dominant baseline property.
Variants§
Auto
UseScript
NoChange
ResetSize
Ideographic
Alphabetic
Hanging
Mathematical
Central
Middle
TextAfterEdge
TextBeforeEdge
Trait Implementations§
source§impl Clone for DominantBaseline
impl Clone for DominantBaseline
source§fn clone(&self) -> DominantBaseline
fn clone(&self) -> DominantBaseline
Returns a copy 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 DominantBaseline
impl Debug for DominantBaseline
source§impl Default for DominantBaseline
impl Default for DominantBaseline
source§impl PartialEq for DominantBaseline
impl PartialEq for DominantBaseline
source§fn eq(&self, other: &DominantBaseline) -> bool
fn eq(&self, other: &DominantBaseline) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DominantBaseline
impl StructuralPartialEq for DominantBaseline
Auto Trait Implementations§
impl RefUnwindSafe for DominantBaseline
impl Send for DominantBaseline
impl Sync for DominantBaseline
impl Unpin 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