itCommonAttr

Struct itCommonAttr 

Source
#[repr(C)]
pub struct itCommonAttr {
Show 42 fields pub flags1: c_char, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub flags4: c_char, pub x4: c_int, pub x8: c_int, pub spinVelocity: f32, pub fallSpeed: f32, pub maxFallSpeed: f32, pub x18: f32, pub x1C: f32, pub x20: c_int, pub x24: c_int, pub x28: c_int, pub x2c: c_int, pub x30: c_int, pub x34: c_int, pub x38: c_int, pub x3c: c_int, pub ecb_top: f32, pub ecb_bot: f32, pub ecb_right: f32, pub ecb_left: f32, pub x50: c_int, pub x54: c_int, pub x58: c_int, pub x5c: c_int, pub x60: c_int, pub x64: c_int, pub x68: c_int, pub x6c: c_int, pub x70: c_int, pub x74: c_int, pub x78: c_int, pub x7c: c_int, pub x80: c_int, pub x84: c_int, pub x88: c_int, pub x8c: c_int, pub x90: c_int, pub x94: c_int, pub x98: c_int, pub x9c: c_int,
}

Fields§

§flags1: c_char§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§flags4: c_char§x4: c_int§x8: c_int§spinVelocity: f32§fallSpeed: f32§maxFallSpeed: f32§x18: f32§x1C: f32§x20: c_int§x24: c_int§x28: c_int§x2c: c_int§x30: c_int§x34: c_int§x38: c_int§x3c: c_int§ecb_top: f32§ecb_bot: f32§ecb_right: f32§ecb_left: f32§x50: c_int§x54: c_int§x58: c_int§x5c: c_int§x60: c_int§x64: c_int§x68: c_int§x6c: c_int§x70: c_int§x74: c_int§x78: c_int§x7c: c_int§x80: c_int§x84: c_int§x88: c_int§x8c: c_int§x90: c_int§x94: c_int§x98: c_int§x9c: c_int

Implementations§

Source§

impl itCommonAttr

Source

pub fn x1_1(&self) -> c_uchar

Source

pub fn set_x1_1(&mut self, val: c_uchar)

Source

pub fn x1_2(&self) -> c_uchar

Source

pub fn set_x1_2(&mut self, val: c_uchar)

Source

pub fn x1_3(&self) -> c_uchar

Source

pub fn set_x1_3(&mut self, val: c_uchar)

Source

pub fn x1_4(&self) -> c_uchar

Source

pub fn set_x1_4(&mut self, val: c_uchar)

Source

pub fn x1_5(&self) -> c_uchar

Source

pub fn set_x1_5(&mut self, val: c_uchar)

Source

pub fn cam_kind(&self) -> c_uchar

Source

pub fn set_cam_kind(&mut self, val: c_uchar)

Source

pub fn x1_8(&self) -> c_uchar

Source

pub fn set_x1_8(&mut self, val: c_uchar)

Source

pub fn new_bitfield_1( x1_1: c_uchar, x1_2: c_uchar, x1_3: c_uchar, x1_4: c_uchar, x1_5: c_uchar, cam_kind: c_uchar, x1_8: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for itCommonAttr

Source§

fn clone(&self) -> itCommonAttr

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for itCommonAttr

Source§

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

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

impl Copy for itCommonAttr

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.