Enum Blendingmethod
#[repr(u8)]pub enum Blendingmethod {
Concatenation = 0,
Xorlevel1 = 1,
Xorlevel2 = 2,
Vonneumann = 3,
}Variants§
Concatenation = 0
Concatenation.
Xorlevel1 = 1
XOR level 1.
Xorlevel2 = 2
XOR level 2.
Vonneumann = 3
VON-NEUMANN debiasing.
Implementations§
§impl Blendingmethod
impl Blendingmethod
pub const fn from_bits(val: u8) -> Blendingmethod
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Blendingmethod
impl Clone for Blendingmethod
§fn clone(&self) -> Blendingmethod
fn clone(&self) -> Blendingmethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Blendingmethod
§impl Debug for Blendingmethod
impl Debug for Blendingmethod
impl Eq for Blendingmethod
§impl From<u8> for Blendingmethod
impl From<u8> for Blendingmethod
§fn from(val: u8) -> Blendingmethod
fn from(val: u8) -> Blendingmethod
Converts to this type from the input type.
§impl Ord for Blendingmethod
impl Ord for Blendingmethod
§fn cmp(&self, other: &Blendingmethod) -> Ordering
fn cmp(&self, other: &Blendingmethod) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Blendingmethod
impl PartialEq for Blendingmethod
§impl PartialOrd for Blendingmethod
impl PartialOrd for Blendingmethod
impl StructuralPartialEq for Blendingmethod
Auto Trait Implementations§
impl Freeze for Blendingmethod
impl RefUnwindSafe for Blendingmethod
impl Send for Blendingmethod
impl Sync for Blendingmethod
impl Unpin for Blendingmethod
impl UnsafeUnpin for Blendingmethod
impl UnwindSafe for Blendingmethod
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