pub enum DotType {
Square,
Dots,
Rounded,
Classy,
ClassyRounded,
ExtraRounded,
}Expand description
Defines the visual style for QR code dots (modules).
Variants§
Square
Simple square dots (default).
Dots
Circular dots.
Rounded
Rounded squares that adapt based on neighbors.
Classy
Classy style with one rounded corner.
ClassyRounded
Classy style with more rounded edges.
ExtraRounded
Extra rounded corner style.
Implementations§
Trait Implementations§
impl Copy for DotType
impl Eq for DotType
impl StructuralPartialEq for DotType
Auto Trait Implementations§
impl Freeze for DotType
impl RefUnwindSafe for DotType
impl Send for DotType
impl Sync for DotType
impl Unpin for DotType
impl UnsafeUnpin for DotType
impl UnwindSafe for DotType
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.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.