#[repr(C, align(4))]
pub struct C3D_ProcTex__bindgen_ty_1__bindgen_ty_1 { pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, }

Fields§

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>

Implementations§

source§

impl C3D_ProcTex__bindgen_ty_1__bindgen_ty_1

source

pub fn uClamp(&self) -> u32_

source

pub fn set_uClamp(&mut self, val: u32_)

source

pub fn vClamp(&self) -> u32_

source

pub fn set_vClamp(&mut self, val: u32_)

source

pub fn rgbFunc(&self) -> u32_

source

pub fn set_rgbFunc(&mut self, val: u32_)

source

pub fn alphaFunc(&self) -> u32_

source

pub fn set_alphaFunc(&mut self, val: u32_)

source

pub fn alphaSeparate(&self) -> bool

source

pub fn set_alphaSeparate(&mut self, val: bool)

source

pub fn enableNoise(&self) -> bool

source

pub fn set_enableNoise(&mut self, val: bool)

source

pub fn uShift(&self) -> u32_

source

pub fn set_uShift(&mut self, val: u32_)

source

pub fn vShift(&self) -> u32_

source

pub fn set_vShift(&mut self, val: u32_)

source

pub fn lodBiasLow(&self) -> u32_

source

pub fn set_lodBiasLow(&mut self, val: u32_)

source

pub fn new_bitfield_1( uClamp: u32_, vClamp: u32_, rgbFunc: u32_, alphaFunc: u32_, alphaSeparate: bool, enableNoise: bool, uShift: u32_, vShift: u32_, lodBiasLow: u32_ ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

source§

impl Clone for C3D_ProcTex__bindgen_ty_1__bindgen_ty_1

source§

fn clone(&self) -> C3D_ProcTex__bindgen_ty_1__bindgen_ty_1

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for C3D_ProcTex__bindgen_ty_1__bindgen_ty_1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for C3D_ProcTex__bindgen_ty_1__bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.