Struct ctru_sys::Y2RU_DitheringWeightParams
source · #[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 copy 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