Enum math2d::RectCorner
source · pub enum RectCorner {
TopLeft,
TopRight,
BottomLeft,
BottomRight,
}
Expand description
Represents a corner of the rectangle
Variants§
TopLeft
The (left, top) coordinate pair
TopRight
The (right, top) coordinate pair
BottomLeft
The (left, bottom) coordinate pair
BottomRight
The (right, bottom) coordinate pair
Trait Implementations§
source§impl Clone for RectCorner
impl Clone for RectCorner
source§fn clone(&self) -> RectCorner
fn clone(&self) -> RectCorner
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 RectCorner
impl Debug for RectCorner
source§impl<'de> Deserialize<'de> for RectCorner
impl<'de> Deserialize<'de> for RectCorner
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