#[repr(u8)]pub enum ConnectionKind {
Show 16 variants
Empty = 0,
Horizontal = 1,
Vertical = 2,
CornerUpLeft = 3,
CornerUpRight = 4,
CornerDownRight = 5,
CornerDownLeft = 6,
TeeUp = 7,
TeeDown = 8,
TeeLeft = 9,
TeeRight = 10,
EndLeft = 11,
EndRight = 12,
EndUp = 13,
EndDown = 14,
CrossOver = 15,
}Variants§
Empty = 0
Horizontal = 1
Vertical = 2
CornerUpLeft = 3
CornerUpRight = 4
CornerDownRight = 5
CornerDownLeft = 6
TeeUp = 7
TeeDown = 8
TeeLeft = 9
TeeRight = 10
EndLeft = 11
EndRight = 12
EndUp = 13
EndDown = 14
CrossOver = 15
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionKind
impl Clone for ConnectionKind
Source§fn clone(&self) -> ConnectionKind
fn clone(&self) -> ConnectionKind
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 ConnectionKind
impl Debug for ConnectionKind
Source§impl Hash for ConnectionKind
impl Hash for ConnectionKind
Source§impl Ord for ConnectionKind
impl Ord for ConnectionKind
Source§fn cmp(&self, other: &ConnectionKind) -> Ordering
fn cmp(&self, other: &ConnectionKind) -> 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 ConnectionKind
impl PartialEq for ConnectionKind
Source§impl PartialOrd for ConnectionKind
impl PartialOrd for ConnectionKind
impl Copy for ConnectionKind
impl Eq for ConnectionKind
impl StructuralPartialEq for ConnectionKind
Auto Trait Implementations§
impl Freeze for ConnectionKind
impl RefUnwindSafe for ConnectionKind
impl Send for ConnectionKind
impl Sync for ConnectionKind
impl Unpin for ConnectionKind
impl UnsafeUnpin for ConnectionKind
impl UnwindSafe for ConnectionKind
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