pub struct RecPlayerInfo {
pub frame_count: i32,
pub time_step: f32,
pub sub_step_count: i32,
pub length_scale: f32,
pub bounds: Aabb,
}Expand description
Static metadata describing a recording, resolved once when the player opens the file. (b2RecPlayerInfo)
Fields§
§frame_count: i32Total recorded steps.
time_step: f32dt of the recorded steps.
sub_step_count: i32Recorded sub-steps.
length_scale: f32Length units per meter in effect when recorded.
bounds: AabbAccumulated world bounds over the recording, zero-extent if unavailable.
Trait Implementations§
Source§impl Clone for RecPlayerInfo
impl Clone for RecPlayerInfo
Source§fn clone(&self) -> RecPlayerInfo
fn clone(&self) -> RecPlayerInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecPlayerInfo
Source§impl Debug for RecPlayerInfo
impl Debug for RecPlayerInfo
Source§impl Default for RecPlayerInfo
impl Default for RecPlayerInfo
Source§fn default() -> RecPlayerInfo
fn default() -> RecPlayerInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecPlayerInfo
impl RefUnwindSafe for RecPlayerInfo
impl Send for RecPlayerInfo
impl Sync for RecPlayerInfo
impl Unpin for RecPlayerInfo
impl UnsafeUnpin for RecPlayerInfo
impl UnwindSafe for RecPlayerInfo
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