pub enum RectCutSide {
Left,
Right,
Top,
Bottom,
}
Expand description
A RectCutSide represents a side of the rectangle. This allows the user to choose a side dynamically using a RectCut.
Variants§
Trait Implementations§
Source§impl Clone for RectCutSide
impl Clone for RectCutSide
Source§fn clone(&self) -> RectCutSide
fn clone(&self) -> RectCutSide
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 RectCutSide
impl Debug for RectCutSide
Source§impl Ord for RectCutSide
impl Ord for RectCutSide
Source§fn cmp(&self, other: &RectCutSide) -> Ordering
fn cmp(&self, other: &RectCutSide) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RectCutSide
impl PartialEq for RectCutSide
Source§impl PartialOrd for RectCutSide
impl PartialOrd for RectCutSide
impl Copy for RectCutSide
impl Eq for RectCutSide
impl StructuralPartialEq for RectCutSide
Auto Trait Implementations§
impl Freeze for RectCutSide
impl RefUnwindSafe for RectCutSide
impl Send for RectCutSide
impl Sync for RectCutSide
impl Unpin for RectCutSide
impl UnwindSafe for RectCutSide
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