pub enum SegmentAlignment {
Left,
Center,
Right,
}Expand description
Where a segment sits relative to its bar.
Variants§
Trait Implementations§
Source§impl Clone for SegmentAlignment
impl Clone for SegmentAlignment
Source§fn clone(&self) -> SegmentAlignment
fn clone(&self) -> SegmentAlignment
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 SegmentAlignment
Source§impl Debug for SegmentAlignment
impl Debug for SegmentAlignment
Source§impl<'de> Deserialize<'de> for SegmentAlignment
impl<'de> Deserialize<'de> for SegmentAlignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SegmentAlignment
Source§impl Hash for SegmentAlignment
impl Hash for SegmentAlignment
Source§impl PartialEq for SegmentAlignment
impl PartialEq for SegmentAlignment
Source§impl Serialize for SegmentAlignment
impl Serialize for SegmentAlignment
impl StructuralPartialEq for SegmentAlignment
Auto Trait Implementations§
impl Freeze for SegmentAlignment
impl RefUnwindSafe for SegmentAlignment
impl Send for SegmentAlignment
impl Sync for SegmentAlignment
impl Unpin for SegmentAlignment
impl UnsafeUnpin for SegmentAlignment
impl UnwindSafe for SegmentAlignment
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