#[repr(C)]pub struct Y2RU_DitheringWeightParams {Show 16 fields
pub w0_xEven_yEven: u16_,
pub w0_xOdd_yEven: u16_,
pub w0_xEven_yOdd: u16_,
pub w0_xOdd_yOdd: u16_,
pub w1_xEven_yEven: u16_,
pub w1_xOdd_yEven: u16_,
pub w1_xEven_yOdd: u16_,
pub w1_xOdd_yOdd: u16_,
pub w2_xEven_yEven: u16_,
pub w2_xOdd_yEven: u16_,
pub w2_xEven_yOdd: u16_,
pub w2_xOdd_yOdd: u16_,
pub w3_xEven_yEven: u16_,
pub w3_xOdd_yEven: u16_,
pub w3_xEven_yOdd: u16_,
pub w3_xOdd_yOdd: u16_,
}Expand description
Dithering weights.
Fields§
§w0_xEven_yEven: u16_< Weight 0 for even X, even Y.
w0_xOdd_yEven: u16_< Weight 0 for odd X, even Y.
w0_xEven_yOdd: u16_< Weight 0 for even X, odd Y.
w0_xOdd_yOdd: u16_< Weight 0 for odd X, odd Y.
w1_xEven_yEven: u16_< Weight 1 for even X, even Y.
w1_xOdd_yEven: u16_< Weight 1 for odd X, even Y.
w1_xEven_yOdd: u16_< Weight 1 for even X, odd Y.
w1_xOdd_yOdd: u16_< Weight 1 for odd X, odd Y.
w2_xEven_yEven: u16_< Weight 2 for even X, even Y.
w2_xOdd_yEven: u16_< Weight 2 for odd X, even Y.
w2_xEven_yOdd: u16_< Weight 2 for even X, odd Y.
w2_xOdd_yOdd: u16_< Weight 2 for odd X, odd Y.
w3_xEven_yEven: u16_< Weight 3 for even X, even Y.
w3_xOdd_yEven: u16_< Weight 3 for odd X, even Y.
w3_xEven_yOdd: u16_< Weight 3 for even X, odd Y.
w3_xOdd_yOdd: u16_< Weight 3 for odd X, odd Y.
Trait Implementations§
Source§impl Clone for Y2RU_DitheringWeightParams
impl Clone for Y2RU_DitheringWeightParams
Source§fn clone(&self) -> Y2RU_DitheringWeightParams
fn clone(&self) -> Y2RU_DitheringWeightParams
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Y2RU_DitheringWeightParams
impl Debug for Y2RU_DitheringWeightParams
Source§impl Default for Y2RU_DitheringWeightParams
impl Default for Y2RU_DitheringWeightParams
Source§fn default() -> Y2RU_DitheringWeightParams
fn default() -> Y2RU_DitheringWeightParams
Returns the “default value” for a type. Read more
impl Copy for Y2RU_DitheringWeightParams
Auto Trait Implementations§
impl Freeze for Y2RU_DitheringWeightParams
impl RefUnwindSafe for Y2RU_DitheringWeightParams
impl Send for Y2RU_DitheringWeightParams
impl Sync for Y2RU_DitheringWeightParams
impl Unpin for Y2RU_DitheringWeightParams
impl UnwindSafe for Y2RU_DitheringWeightParams
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)