pub struct FeedbackFrame {
pub shake: ShakeSample,
pub flash: f32,
pub rumble: [f32; 2],
pub hitstop_seconds: f32,
}Fields§
§shake: ShakeSample§flash: f32§rumble: [f32; 2]§hitstop_seconds: f32Optional single-player presentation pause. Never apply this to a gameplay clock. Online sessions and reduced-motion policies always return zero.
Trait Implementations§
Source§impl Clone for FeedbackFrame
impl Clone for FeedbackFrame
Source§fn clone(&self) -> FeedbackFrame
fn clone(&self) -> FeedbackFrame
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 FeedbackFrame
impl Debug for FeedbackFrame
Source§impl Default for FeedbackFrame
impl Default for FeedbackFrame
Source§fn default() -> FeedbackFrame
fn default() -> FeedbackFrame
Returns the “default value” for a type. Read more
impl Copy for FeedbackFrame
Auto Trait Implementations§
impl Freeze for FeedbackFrame
impl RefUnwindSafe for FeedbackFrame
impl Send for FeedbackFrame
impl Sync for FeedbackFrame
impl Unpin for FeedbackFrame
impl UnwindSafe for FeedbackFrame
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