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