Enum usvgr::AlignmentBaseline
source · pub enum AlignmentBaseline {
Auto,
Baseline,
BeforeEdge,
TextBeforeEdge,
Middle,
Central,
AfterEdge,
TextAfterEdge,
Ideographic,
Alphabetic,
Hanging,
Mathematical,
}Expand description
An alignment baseline property.
Variants§
Auto
Baseline
BeforeEdge
TextBeforeEdge
Middle
Central
AfterEdge
TextAfterEdge
Ideographic
Alphabetic
Hanging
Mathematical
Trait Implementations§
source§impl Clone for AlignmentBaseline
impl Clone for AlignmentBaseline
source§fn clone(&self) -> AlignmentBaseline
fn clone(&self) -> AlignmentBaseline
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 AlignmentBaseline
impl Debug for AlignmentBaseline
source§impl Default for AlignmentBaseline
impl Default for AlignmentBaseline
source§impl EnumFromStr for AlignmentBaseline
impl EnumFromStr for AlignmentBaseline
fn enum_from_str(s: &str) -> Option<Self>
source§impl Hash for AlignmentBaseline
impl Hash for AlignmentBaseline
source§impl PartialEq for AlignmentBaseline
impl PartialEq for AlignmentBaseline
source§fn eq(&self, other: &AlignmentBaseline) -> bool
fn eq(&self, other: &AlignmentBaseline) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy 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 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
source§impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
source§impl<T> IsDefault for T
impl<T> IsDefault for T
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.