Enum fast_qr::convert::ImageBackgroundShape
source · pub enum ImageBackgroundShape {
Square,
Circle,
RoundedSquare,
}
Expand description
Different possible image background shapes
Variants§
Trait Implementations§
source§impl Clone for ImageBackgroundShape
impl Clone for ImageBackgroundShape
source§fn clone(&self) -> ImageBackgroundShape
fn clone(&self) -> ImageBackgroundShape
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 ImageBackgroundShape
impl Debug for ImageBackgroundShape
source§impl Ord for ImageBackgroundShape
impl Ord for ImageBackgroundShape
source§fn cmp(&self, other: &ImageBackgroundShape) -> Ordering
fn cmp(&self, other: &ImageBackgroundShape) -> 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 ImageBackgroundShape
impl PartialEq for ImageBackgroundShape
source§fn eq(&self, other: &ImageBackgroundShape) -> bool
fn eq(&self, other: &ImageBackgroundShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageBackgroundShape
impl PartialOrd for ImageBackgroundShape
source§fn partial_cmp(&self, other: &ImageBackgroundShape) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageBackgroundShape) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImageBackgroundShape
impl Eq for ImageBackgroundShape
impl StructuralPartialEq for ImageBackgroundShape
Auto Trait Implementations§
impl Freeze for ImageBackgroundShape
impl RefUnwindSafe for ImageBackgroundShape
impl Send for ImageBackgroundShape
impl Sync for ImageBackgroundShape
impl Unpin for ImageBackgroundShape
impl UnwindSafe for ImageBackgroundShape
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