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 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 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
Source§impl Serialize for RectCorner
impl Serialize for RectCorner
impl Copy for RectCorner
Auto Trait Implementations§
impl Freeze for RectCorner
impl RefUnwindSafe for RectCorner
impl Send for RectCorner
impl Sync for RectCorner
impl Unpin for RectCorner
impl UnwindSafe for RectCorner
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