Struct boxcars::KeyFrame
[−]
[src]
pub struct KeyFrame { pub time: f32, pub frame: i32, pub position: i32, }
Keyframes as defined by the video compression section in the wikipedia article, are the main frames that are derived from in the following frame data. The key frames decoded will match up with the frames decoded from the network data.
Fields
time: f32
frame: i32
position: i32
Trait Implementations
impl PartialEq for KeyFrame
[src]
fn eq(&self, __arg_0: &KeyFrame) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyFrame) -> bool
[src]
This method tests for !=
.
impl Debug for KeyFrame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for KeyFrame
[src]
fn clone(&self) -> KeyFrame
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more