#[repr(C)]pub enum BitcrusherMode {
Cast = 0,
Floor = 1,
Ceil = 2,
Round = 3,
}Expand description
different modes for the bitcrusher effect
Variants§
Trait Implementations§
Source§impl Clone for BitcrusherMode
impl Clone for BitcrusherMode
Source§fn clone(&self) -> BitcrusherMode
fn clone(&self) -> BitcrusherMode
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 BitcrusherMode
Source§impl Debug for BitcrusherMode
impl Debug for BitcrusherMode
Source§impl PartialEq for BitcrusherMode
impl PartialEq for BitcrusherMode
Source§fn eq(&self, other: &BitcrusherMode) -> bool
fn eq(&self, other: &BitcrusherMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BitcrusherMode
Auto Trait Implementations§
impl Freeze for BitcrusherMode
impl RefUnwindSafe for BitcrusherMode
impl Send for BitcrusherMode
impl Sync for BitcrusherMode
impl Unpin for BitcrusherMode
impl UnsafeUnpin for BitcrusherMode
impl UnwindSafe for BitcrusherMode
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