Enum iron_shapes::redge::REdgeOrientation
source · pub enum REdgeOrientation {
Horizontal,
Vertical,
}Expand description
Orientation of a rectilinear edge.
Variants§
Implementations§
source§impl 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§
source§impl Clone for REdgeOrientation
impl Clone for REdgeOrientation
source§fn clone(&self) -> REdgeOrientation
fn clone(&self) -> REdgeOrientation
Returns a copy 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 REdgeOrientation
impl Debug for REdgeOrientation
source§impl<'de> Deserialize<'de> for REdgeOrientation
impl<'de> Deserialize<'de> for REdgeOrientation
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 Hash for REdgeOrientation
impl Hash for REdgeOrientation
source§impl PartialEq<REdgeOrientation> for REdgeOrientation
impl PartialEq<REdgeOrientation> for REdgeOrientation
source§fn eq(&self, other: &REdgeOrientation) -> bool
fn eq(&self, other: &REdgeOrientation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.