Enum usvg_tree::TextAnchor
source · pub enum TextAnchor {
Start,
Middle,
End,
}
Expand description
A text chunk anchor property.
Variants§
Trait Implementations§
source§impl Clone for TextAnchor
impl Clone for TextAnchor
source§fn clone(&self) -> TextAnchor
fn clone(&self) -> TextAnchor
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 TextAnchor
impl Debug for TextAnchor
source§impl Default for TextAnchor
impl Default for TextAnchor
source§impl PartialEq<TextAnchor> for TextAnchor
impl PartialEq<TextAnchor> for TextAnchor
source§fn eq(&self, other: &TextAnchor) -> bool
fn eq(&self, other: &TextAnchor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.