Enum iron_shapes::redge::REdgeOrientation
source · [−]pub enum REdgeOrientation {
Horizontal,
Vertical,
}
Expand description
Orientation of a rectilinear edge.
Variants
Horizontal
Horizontal edge.
Vertical
Vertical edge.
Implementations
sourceimpl REdgeOrientation
impl REdgeOrientation
sourcepub fn is_horizontal(self) -> bool
pub fn is_horizontal(self) -> bool
Check if the orientation is horizontal.
sourcepub fn is_vertical(self) -> bool
pub fn is_vertical(self) -> bool
Check if the orientation is vertical.
Trait Implementations
sourceimpl Clone for REdgeOrientation
impl Clone for REdgeOrientation
sourcefn clone(&self) -> REdgeOrientation
fn clone(&self) -> REdgeOrientation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for REdgeOrientation
impl Debug for REdgeOrientation
sourceimpl Hash for REdgeOrientation
impl Hash for REdgeOrientation
sourceimpl PartialEq<REdgeOrientation> for REdgeOrientation
impl PartialEq<REdgeOrientation> for REdgeOrientation
impl Copy for REdgeOrientation
impl Eq for REdgeOrientation
impl StructuralEq for REdgeOrientation
impl StructuralPartialEq for REdgeOrientation
Auto Trait Implementations
impl RefUnwindSafe for REdgeOrientation
impl Send for REdgeOrientation
impl Sync for REdgeOrientation
impl Unpin for REdgeOrientation
impl UnwindSafe for REdgeOrientation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more