pub struct VP8Random {
pub index1: usize,
pub index2: usize,
pub tab: [u32; 55],
pub amp: i32,
}Expand description
State of the dithering generator (C: VP8Random).
index1 and index2 are positions in tab; C keeps them as int, and they
are only ever in 0..VP8_RANDOM_TABLE_SIZE.
Fields§
§index1: usize§index2: usize§tab: [u32; 55]§amp: i32Trait Implementations§
impl Copy for VP8Random
impl Eq for VP8Random
impl StructuralPartialEq for VP8Random
Auto Trait Implementations§
impl Forget for VP8Random
impl Freeze for VP8Random
impl Move for VP8Random
impl RefUnwindSafe for VP8Random
impl Send for VP8Random
impl Sync for VP8Random
impl Unpin for VP8Random
impl UnsafeUnpin for VP8Random
impl UnwindSafe for VP8Random
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