pub enum LabelJustification {
Left,
Right,
Center,
}Expand description
Justification for cluster labels.
Right, the label is right-justified within bounding rectangle Left, left-justified Else the label is centered.
Note that a subgraph inherits attributes from its parent. Thus, if the root graph sets labeljust=l, the subgraph inherits this value.
Variants§
Trait Implementations§
Source§impl<'a> DotString<'a> for LabelJustification
impl<'a> DotString<'a> for LabelJustification
fn dot_string(&self) -> Cow<'a, str>
Source§impl<'a> From<LabelJustification> for AttributeText<'a>
impl<'a> From<LabelJustification> for AttributeText<'a>
Source§fn from(label_justification: LabelJustification) -> Self
fn from(label_justification: LabelJustification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LabelJustification
impl RefUnwindSafe for LabelJustification
impl Send for LabelJustification
impl Sync for LabelJustification
impl Unpin for LabelJustification
impl UnsafeUnpin for LabelJustification
impl UnwindSafe for LabelJustification
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