pub enum FinderShape {
Square,
Rounded,
Circle,
}Expand description
Shape of the three finder patterns (the large 7x7 corner markers).
Used in QrStyle::finder_shape. The default is FinderShape::Rounded.
Variants§
Square
Classic concentric squares.
Rounded
Concentric rounded rectangles.
Circle
Concentric circles.
Trait Implementations§
Source§impl Clone for FinderShape
impl Clone for FinderShape
Source§fn clone(&self) -> FinderShape
fn clone(&self) -> FinderShape
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 FinderShape
impl Debug for FinderShape
Source§impl PartialEq for FinderShape
impl PartialEq for FinderShape
impl Copy for FinderShape
impl Eq for FinderShape
impl StructuralPartialEq for FinderShape
Auto Trait Implementations§
impl Freeze for FinderShape
impl RefUnwindSafe for FinderShape
impl Send for FinderShape
impl Sync for FinderShape
impl Unpin for FinderShape
impl UnsafeUnpin for FinderShape
impl UnwindSafe for FinderShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.