pub struct MjMaterialModelViewMut<'d> {
pub texuniform: PointerViewMut<'d, bool>,
pub texrepeat: PointerViewMut<'d, f32>,
pub emission: PointerViewMut<'d, f32>,
pub specular: PointerViewMut<'d, f32>,
pub shininess: PointerViewMut<'d, f32>,
pub reflectance: PointerViewMut<'d, f32>,
pub metallic: PointerViewMut<'d, f32>,
pub roughness: PointerViewMut<'d, f32>,
pub rgba: PointerViewMut<'d, f32>,
pub texid: PointerViewMut<'d, i32>,
}Expand description
A mutable view to material variables of MjModel.
Fields§
§texuniform: PointerViewMut<'d, bool>§texrepeat: PointerViewMut<'d, f32>§emission: PointerViewMut<'d, f32>§specular: PointerViewMut<'d, f32>§shininess: PointerViewMut<'d, f32>§reflectance: PointerViewMut<'d, f32>§metallic: PointerViewMut<'d, f32>§roughness: PointerViewMut<'d, f32>§rgba: PointerViewMut<'d, f32>§texid: PointerViewMut<'d, i32>Implementations§
Source§impl MjMaterialModelViewMut<'_>
impl MjMaterialModelViewMut<'_>
Auto Trait Implementations§
impl<'d> Freeze for MjMaterialModelViewMut<'d>
impl<'d> RefUnwindSafe for MjMaterialModelViewMut<'d>
impl<'d> !Send for MjMaterialModelViewMut<'d>
impl<'d> !Sync for MjMaterialModelViewMut<'d>
impl<'d> Unpin for MjMaterialModelViewMut<'d>
impl<'d> !UnwindSafe for MjMaterialModelViewMut<'d>
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