pub struct mjvOption { /* private fields */ }Implementations§
Source§impl mjvOption
impl mjvOption
Sourcepub fn set_bvh_depth(&mut self, value: usize) -> &mut Self
pub fn set_bvh_depth(&mut self, value: usize) -> &mut Self
set depth of the bounding volume hierarchy to be visualized
Sourcepub fn flex_layer(&self) -> usize
pub fn flex_layer(&self) -> usize
element layer to be visualized for 3D flex
Sourcepub fn set_flex_layer(&mut self, value: usize) -> &mut Self
pub fn set_flex_layer(&mut self, value: usize) -> &mut Self
set element layer to be visualized for 3D flex
Source§impl mjvOption
impl mjvOption
Sourcepub fn jointgroup(&self) -> [bool; 6]
pub fn jointgroup(&self) -> [bool; 6]
joint visualization by group
Sourcepub fn tendongroup(&self) -> [bool; 6]
pub fn tendongroup(&self) -> [bool; 6]
tendon visualization by group
Sourcepub fn actuatorgroup(&self) -> [bool; 6]
pub fn actuatorgroup(&self) -> [bool; 6]
actuator visualization by group
Source§impl mjvOption
impl mjvOption
Sourcepub fn geomgroup_mut(&mut self) -> &mut [bool; 6]
pub fn geomgroup_mut(&mut self) -> &mut [bool; 6]
mutate geom visualization by group
Sourcepub fn flags(&self) -> &VisualizationFlags
pub fn flags(&self) -> &VisualizationFlags
flags
Sourcepub fn flags_mut(&mut self) -> &mut VisualizationFlags
pub fn flags_mut(&mut self) -> &mut VisualizationFlags
mutate flags
Trait Implementations§
impl Copy for mjvOption
Auto Trait Implementations§
impl Freeze for mjvOption
impl RefUnwindSafe for mjvOption
impl Send for mjvOption
impl Sync for mjvOption
impl Unpin for mjvOption
impl UnwindSafe for mjvOption
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