pub enum RectAlignment {
Left,
Top,
Right,
Bottom,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
Center,
}Expand description
This simple type describes how to position two rectangles relative to each other.
Variants§
Trait Implementations§
Source§impl Clone for RectAlignment
impl Clone for RectAlignment
Source§fn clone(&self) -> RectAlignment
fn clone(&self) -> RectAlignment
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 RectAlignment
impl Debug for RectAlignment
Source§impl FromStr for RectAlignment
impl FromStr for RectAlignment
impl Copy for RectAlignment
Auto Trait Implementations§
impl Freeze for RectAlignment
impl RefUnwindSafe for RectAlignment
impl Send for RectAlignment
impl Sync for RectAlignment
impl Unpin for RectAlignment
impl UnwindSafe for RectAlignment
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