pub struct SimulatorInfo {
pub simulator_type: Option<SimulatorType>,
pub name: Option<String>,
pub version: Option<String>,
pub fidelity: Option<SimulationFidelity>,
pub physics_engine: Option<String>,
pub rendering_enabled: Option<bool>,
pub real_time_factor: Option<f64>,
pub step_rate_hz: Option<f64>,
}Expand description
Simulator information.
Fields§
§simulator_type: Option<SimulatorType>Simulator type
name: Option<String>Simulator name
version: Option<String>Simulator version
fidelity: Option<SimulationFidelity>Simulation fidelity
physics_engine: Option<String>Physics engine
rendering_enabled: Option<bool>Rendering enabled
real_time_factor: Option<f64>Real-time factor achieved
step_rate_hz: Option<f64>Step rate (Hz)
Trait Implementations§
Source§impl Clone for SimulatorInfo
impl Clone for SimulatorInfo
Source§fn clone(&self) -> SimulatorInfo
fn clone(&self) -> SimulatorInfo
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 moreSource§impl Debug for SimulatorInfo
impl Debug for SimulatorInfo
Source§impl Default for SimulatorInfo
impl Default for SimulatorInfo
Source§fn default() -> SimulatorInfo
fn default() -> SimulatorInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimulatorInfo
impl<'de> Deserialize<'de> for SimulatorInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimulatorInfo
impl RefUnwindSafe for SimulatorInfo
impl Send for SimulatorInfo
impl Sync for SimulatorInfo
impl Unpin for SimulatorInfo
impl UnwindSafe for SimulatorInfo
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