pub struct MjTextureModelViewMut<'d> {
pub type: PointerViewMut<'d, MjtTexture>,
pub colorspace: PointerViewMut<'d, MjtColorSpace>,
pub height: PointerViewMut<'d, i32>,
pub width: PointerViewMut<'d, i32>,
pub nchannel: PointerViewMut<'d, i32>,
pub data: PointerViewMut<'d, MjtByte>,
pub pathadr: Option<PointerViewMut<'d, i32>>,
}Expand description
A mutable view to texture variables of MjModel.
Fields§
§type: PointerViewMut<'d, MjtTexture>§colorspace: PointerViewMut<'d, MjtColorSpace>§height: PointerViewMut<'d, i32>§width: PointerViewMut<'d, i32>§nchannel: PointerViewMut<'d, i32>§data: PointerViewMut<'d, MjtByte>§pathadr: Option<PointerViewMut<'d, i32>>Implementations§
Source§impl MjTextureModelViewMut<'_>
impl MjTextureModelViewMut<'_>
Auto Trait Implementations§
impl<'d> Freeze for MjTextureModelViewMut<'d>
impl<'d> RefUnwindSafe for MjTextureModelViewMut<'d>
impl<'d> !Send for MjTextureModelViewMut<'d>
impl<'d> !Sync for MjTextureModelViewMut<'d>
impl<'d> Unpin for MjTextureModelViewMut<'d>
impl<'d> !UnwindSafe for MjTextureModelViewMut<'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