pub struct ReplayConfig { /* private fields */ }Expand description
Configuration consumed by ReplayPlayer creation.
Implementations§
Source§impl ReplayConfig
impl ReplayConfig
Sourcepub fn with_worker_count(self, worker_count: WorkerCount) -> Self
pub fn with_worker_count(self, worker_count: WorkerCount) -> Self
Select the validated replay worker count.
Sourcepub fn with_friction_mixer<F>(self, identity: MixerId, mixer: F) -> Self
pub fn with_friction_mixer<F>(self, identity: MixerId, mixer: F) -> Self
Install the deterministic friction mixer required by the recording sidecar.
Sourcepub fn with_restitution_mixer<F>(self, identity: MixerId, mixer: F) -> Self
pub fn with_restitution_mixer<F>(self, identity: MixerId, mixer: F) -> Self
Install the deterministic restitution mixer required by the recording sidecar.
Sourcepub fn mixer_identities(&self) -> MixerIdentities
pub fn mixer_identities(&self) -> MixerIdentities
Return the exact material-mixer behavior identities represented by this configuration.
Trait Implementations§
Source§impl Debug for ReplayConfig
impl Debug for ReplayConfig
Source§impl Default for ReplayConfig
impl Default for ReplayConfig
Source§fn default() -> ReplayConfig
fn default() -> ReplayConfig
Returns the “default value” for a type. Read more
Source§impl Drop for ReplayConfig
Available on non-WebAssembly only.
impl Drop for ReplayConfig
Available on non-WebAssembly only.
Auto Trait Implementations§
impl !RefUnwindSafe for ReplayConfig
impl !UnwindSafe for ReplayConfig
impl Freeze for ReplayConfig
impl Send for ReplayConfig
impl Sync for ReplayConfig
impl Unpin for ReplayConfig
impl UnsafeUnpin for ReplayConfig
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