#[repr(C)]pub struct C3D_LightConf {
pub material: C3D_LightMatConf,
pub position: [u16_; 3],
pub padding0: u16_,
pub spotDir: [u16_; 3],
pub padding1: u16_,
pub padding2: u32_,
pub config: u32_,
pub distAttnBias: u32_,
pub distAttnScale: u32_,
}Fields§
§material: C3D_LightMatConf§position: [u16_; 3]§padding0: u16_§spotDir: [u16_; 3]§padding1: u16_§padding2: u32_§config: u32_§distAttnBias: u32_§distAttnScale: u32_Trait Implementations§
Source§impl Clone for C3D_LightConf
impl Clone for C3D_LightConf
Source§fn clone(&self) -> C3D_LightConf
fn clone(&self) -> C3D_LightConf
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 C3D_LightConf
impl Debug for C3D_LightConf
impl Copy for C3D_LightConf
Auto Trait Implementations§
impl Freeze for C3D_LightConf
impl RefUnwindSafe for C3D_LightConf
impl Send for C3D_LightConf
impl Sync for C3D_LightConf
impl Unpin for C3D_LightConf
impl UnwindSafe for C3D_LightConf
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)