#[repr(C)]pub struct mjsSensor_ {Show 15 fields
pub element: *mut mjsElement,
pub type_: mjtSensor,
pub objtype: mjtObj,
pub objname: *mut mjString,
pub reftype: mjtObj,
pub refname: *mut mjString,
pub intprm: [c_int; 3],
pub datatype: mjtDataType,
pub needstage: mjtStage,
pub dim: c_int,
pub cutoff: f64,
pub noise: f64,
pub userdata: *mut mjDoubleVec,
pub plugin: mjsPlugin,
pub info: *mut mjString,
}Fields§
§element: *mut mjsElement§type_: mjtSensor§objtype: mjtObj§objname: *mut mjString§reftype: mjtObj§refname: *mut mjString§intprm: [c_int; 3]§datatype: mjtDataType§needstage: mjtStage§dim: c_int§cutoff: f64§noise: f64§userdata: *mut mjDoubleVec§plugin: mjsPlugin§info: *mut mjStringTrait Implementations§
Source§impl Clone for mjsSensor_
impl Clone for mjsSensor_
Source§fn clone(&self) -> mjsSensor_
fn clone(&self) -> mjsSensor_
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for mjsSensor_
impl RefUnwindSafe for mjsSensor_
impl !Send for mjsSensor_
impl !Sync for mjsSensor_
impl Unpin for mjsSensor_
impl UnwindSafe for mjsSensor_
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