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<DrawOffset> for DrawOffset
impl PartialEq<DrawOffset> 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 ==
.