[−][src]Enum qr_image_core::EcLevel
The error correction level. It allows the original information be recovered even if parts of the code is damaged.
Variants
Low error correction. Allows up to 7% of wrong blocks.
Medium error correction (default). Allows up to 15% of wrong blocks.
"Quartile" error correction. Allows up to 25% of wrong blocks.
High error correction. Allows up to 30% of wrong blocks.
Trait Implementations
impl Clone for EcLevel
[src]
impl Copy for EcLevel
[src]
impl Debug for EcLevel
[src]
impl Eq for EcLevel
[src]
impl Ord for EcLevel
[src]
pub fn cmp(&self, other: &EcLevel) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<EcLevel> for EcLevel
[src]
pub fn eq(&self, other: &EcLevel) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<EcLevel> for EcLevel
[src]
pub fn partial_cmp(&self, other: &EcLevel) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for EcLevel
[src]
impl StructuralPartialEq for EcLevel
[src]
Auto Trait Implementations
impl RefUnwindSafe for EcLevel
impl Send for EcLevel
impl Sync for EcLevel
impl Unpin for EcLevel
impl UnwindSafe for EcLevel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,