pub struct KeyFrame {
pub time: f32,
pub frame: i32,
pub position: i32,
}
Expand description
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§
source§impl PartialEq for KeyFrame
impl PartialEq for KeyFrame
impl Copy for KeyFrame
impl StructuralPartialEq for KeyFrame
Auto Trait Implementations§
impl Freeze for KeyFrame
impl RefUnwindSafe for KeyFrame
impl Send for KeyFrame
impl Sync for KeyFrame
impl Unpin for KeyFrame
impl UnwindSafe for KeyFrame
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