pub enum SymbolAnchor {
Center,
Top,
Bottom,
Left,
Right,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
}Expand description
Symbol anchor position relative to the anchor point.
Variants§
Center
Centered on the anchor.
Top
Above the anchor.
Bottom
Below the anchor.
Left
Left of the anchor.
Right
Right of the anchor.
TopLeft
Above-left of the anchor.
TopRight
Above-right of the anchor.
BottomLeft
Below-left of the anchor.
BottomRight
Below-right of the anchor.
Trait Implementations§
Source§impl Clone for SymbolAnchor
impl Clone for SymbolAnchor
Source§fn clone(&self) -> SymbolAnchor
fn clone(&self) -> SymbolAnchor
Returns a duplicate 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 SymbolAnchor
impl Debug for SymbolAnchor
Source§impl Hash for SymbolAnchor
impl Hash for SymbolAnchor
Source§impl Ord for SymbolAnchor
impl Ord for SymbolAnchor
Source§fn cmp(&self, other: &SymbolAnchor) -> Ordering
fn cmp(&self, other: &SymbolAnchor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SymbolAnchor
impl PartialEq for SymbolAnchor
Source§impl PartialOrd for SymbolAnchor
impl PartialOrd for SymbolAnchor
impl Copy for SymbolAnchor
impl Eq for SymbolAnchor
impl StructuralPartialEq for SymbolAnchor
Auto Trait Implementations§
impl Freeze for SymbolAnchor
impl RefUnwindSafe for SymbolAnchor
impl Send for SymbolAnchor
impl Sync for SymbolAnchor
impl Unpin for SymbolAnchor
impl UnsafeUnpin for SymbolAnchor
impl UnwindSafe for SymbolAnchor
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