Struct dis_rs::model::DrParameters
source · pub struct DrParameters {
pub algorithm: DeadReckoningAlgorithm,
pub other_parameters: DrOtherParameters,
pub linear_acceleration: VectorF32,
pub angular_velocity: VectorF32,
}Fields§
§algorithm: DeadReckoningAlgorithm§other_parameters: DrOtherParameters§linear_acceleration: VectorF32§angular_velocity: VectorF32Implementations§
source§impl DrParameters
impl DrParameters
pub fn with_algorithm(self, algorithm: DeadReckoningAlgorithm) -> Self
pub fn with_parameters(self, parameters: DrOtherParameters) -> Self
pub fn with_linear_acceleration(self, linear_acceleration: VectorF32) -> Self
pub fn with_angular_velocity(self, angular_velocity: VectorF32) -> Self
Trait Implementations§
source§impl Default for DrParameters
impl Default for DrParameters
source§fn default() -> DrParameters
fn default() -> DrParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DrParameters
impl Send for DrParameters
impl Sync for DrParameters
impl Unpin for DrParameters
impl UnwindSafe for DrParameters
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