#[non_exhaustive]pub enum LabelPosition {
InsideTop,
InsideBottom,
}Expand description
Subgraph label position (zigraph naming; D7).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InsideTop
One row below the top border, left-aligned (legacy).
InsideBottom
One row above the bottom border, left-aligned.
Trait Implementations§
Source§impl Clone for LabelPosition
impl Clone for LabelPosition
Source§fn clone(&self) -> LabelPosition
fn clone(&self) -> LabelPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LabelPosition
Source§impl Debug for LabelPosition
impl Debug for LabelPosition
Source§impl Default for LabelPosition
impl Default for LabelPosition
Source§fn default() -> LabelPosition
fn default() -> LabelPosition
Returns the “default value” for a type. Read more
impl Eq for LabelPosition
Source§impl PartialEq for LabelPosition
impl PartialEq for LabelPosition
impl StructuralPartialEq for LabelPosition
Auto Trait Implementations§
impl Freeze for LabelPosition
impl RefUnwindSafe for LabelPosition
impl Send for LabelPosition
impl Sync for LabelPosition
impl Unpin for LabelPosition
impl UnsafeUnpin for LabelPosition
impl UnwindSafe for LabelPosition
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