pub struct TimedPlayerControl {
pub absolute_frame: u64,
pub sequence: u64,
pub control: PlayerControl,
}Fields§
§absolute_frame: u64§sequence: u64§control: PlayerControlImplementations§
Source§impl TimedPlayerControl
impl TimedPlayerControl
pub const fn new( absolute_frame: u64, sequence: u64, control: PlayerControl, ) -> Self
Trait Implementations§
Source§impl Clone for TimedPlayerControl
impl Clone for TimedPlayerControl
Source§fn clone(&self) -> TimedPlayerControl
fn clone(&self) -> TimedPlayerControl
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 TimedPlayerControl
Source§impl Debug for TimedPlayerControl
impl Debug for TimedPlayerControl
Source§impl<'de> Deserialize<'de> for TimedPlayerControl
impl<'de> Deserialize<'de> for TimedPlayerControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimedPlayerControl
impl PartialEq for TimedPlayerControl
Source§impl Serialize for TimedPlayerControl
impl Serialize for TimedPlayerControl
Source§impl SpscCodec<TimedPlayerControl, TIMED_PLAYER_CONTROL_BYTES> for TimedPlayerControlCodec
impl SpscCodec<TimedPlayerControl, TIMED_PLAYER_CONTROL_BYTES> for TimedPlayerControlCodec
impl StructuralPartialEq for TimedPlayerControl
Auto Trait Implementations§
impl Freeze for TimedPlayerControl
impl RefUnwindSafe for TimedPlayerControl
impl Send for TimedPlayerControl
impl Sync for TimedPlayerControl
impl Unpin for TimedPlayerControl
impl UnsafeUnpin for TimedPlayerControl
impl UnwindSafe for TimedPlayerControl
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