pub enum DrawOffset {
    TopLeft,
    Center,
    Custom(Coord),
}Variants§
Trait Implementations§
source§impl Clone for DrawOffset
 
impl Clone for DrawOffset
source§fn clone(&self) -> DrawOffset
 
fn clone(&self) -> DrawOffset
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 DrawOffset
 
impl Debug for DrawOffset
source§impl PartialEq for DrawOffset
 
impl PartialEq for DrawOffset
source§fn eq(&self, other: &DrawOffset) -> bool
 
fn eq(&self, other: &DrawOffset) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for DrawOffset
impl Eq for DrawOffset
impl StructuralEq for DrawOffset
impl StructuralPartialEq for DrawOffset
Auto Trait Implementations§
impl RefUnwindSafe for DrawOffset
impl Send for DrawOffset
impl Sync for DrawOffset
impl Unpin for DrawOffset
impl UnwindSafe for DrawOffset
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