pub enum OrientationKind {
positive,
negative,
}Expand description
The orientation of the coordinate system with respect to top, left, and the coordinate number system.
Variants§
positive
For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. This is also known as a right hand orientation.
negative
For 2D diagrams, a negative orientation gives the left-hand orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom. This is also known as a left hand orientation.
Implementations§
Trait Implementations§
Source§impl Clone for OrientationKind
impl Clone for OrientationKind
Source§fn clone(&self) -> OrientationKind
fn clone(&self) -> OrientationKind
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 moreSource§impl Debug for OrientationKind
impl Debug for OrientationKind
Source§impl<'de> Deserialize<'de> for OrientationKind
impl<'de> Deserialize<'de> for OrientationKind
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
Source§impl PartialEq for OrientationKind
impl PartialEq for OrientationKind
Source§impl Serialize for OrientationKind
impl Serialize for OrientationKind
impl StructuralPartialEq for OrientationKind
Auto Trait Implementations§
impl Freeze for OrientationKind
impl RefUnwindSafe for OrientationKind
impl Send for OrientationKind
impl Sync for OrientationKind
impl Unpin for OrientationKind
impl UnsafeUnpin for OrientationKind
impl UnwindSafe for OrientationKind
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