#[repr(C)]pub struct _mjvLight {
pub pos: [f32; 3],
pub dir: [f32; 3],
pub attenuation: [f32; 3],
pub cutoff: f32,
pub exponent: f32,
pub ambient: [f32; 3],
pub diffuse: [f32; 3],
pub specular: [f32; 3],
pub headlight: mjtByte,
pub directional: mjtByte,
pub castshadow: mjtByte,
}Fields§
§pos: [f32; 3]§dir: [f32; 3]§attenuation: [f32; 3]§cutoff: f32§exponent: f32§ambient: [f32; 3]§diffuse: [f32; 3]§specular: [f32; 3]§headlight: mjtByte§directional: mjtByte§castshadow: mjtByteTrait Implementations§
impl Copy for _mjvLight
Auto Trait Implementations§
impl Freeze for _mjvLight
impl RefUnwindSafe for _mjvLight
impl Send for _mjvLight
impl Sync for _mjvLight
impl Unpin for _mjvLight
impl UnsafeUnpin for _mjvLight
impl UnwindSafe for _mjvLight
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more