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<DominantBaseline> for DominantBaseline
impl PartialEq<DominantBaseline> 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 ==
.