pub enum SegmentSide {
Left,
Right,
}Expand description
Statusline segment anchor.
Variants§
Trait Implementations§
Source§impl Clone for SegmentSide
impl Clone for SegmentSide
Source§fn clone(&self) -> SegmentSide
fn clone(&self) -> SegmentSide
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 SegmentSide
Source§impl Debug for SegmentSide
impl Debug for SegmentSide
Source§impl Default for SegmentSide
impl Default for SegmentSide
Source§fn default() -> SegmentSide
fn default() -> SegmentSide
Returns the “default value” for a type. Read more
impl Eq for SegmentSide
Source§impl PartialEq for SegmentSide
impl PartialEq for SegmentSide
Source§fn eq(&self, other: &SegmentSide) -> bool
fn eq(&self, other: &SegmentSide) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SegmentSide
impl Serialize for SegmentSide
impl StructuralPartialEq for SegmentSide
Auto Trait Implementations§
impl Freeze for SegmentSide
impl RefUnwindSafe for SegmentSide
impl Send for SegmentSide
impl Sync for SegmentSide
impl Unpin for SegmentSide
impl UnsafeUnpin for SegmentSide
impl UnwindSafe for SegmentSide
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