Enum usvg::TextAnchor
source · pub enum TextAnchor {
Start,
Middle,
End,
}
Expand description
A text anchor.
text-anchor
attribute in the SVG.
Variants
Start
Middle
End
Trait Implementations
sourceimpl Clone for TextAnchor
impl Clone for TextAnchor
sourcefn clone(&self) -> TextAnchor
fn clone(&self) -> TextAnchor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextAnchor
impl Debug for TextAnchor
sourceimpl PartialEq<TextAnchor> for TextAnchor
impl PartialEq<TextAnchor> for TextAnchor
sourcefn eq(&self, other: &TextAnchor) -> bool
fn eq(&self, other: &TextAnchor) -> bool
sourceimpl ToString for TextAnchor
impl ToString for TextAnchor
impl Copy for TextAnchor
impl StructuralPartialEq for TextAnchor
Auto Trait Implementations
impl RefUnwindSafe for TextAnchor
impl Send for TextAnchor
impl Sync for TextAnchor
impl Unpin for TextAnchor
impl UnwindSafe for TextAnchor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more