Struct openlibspot_playback::decoder::AudioPacketPosition
source · pub struct AudioPacketPosition {
pub position_ms: u32,
pub skipped: bool,
}
Fields§
§position_ms: u32
§skipped: bool
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Clone for AudioPacketPosition
impl Clone for AudioPacketPosition
source§fn clone(&self) -> AudioPacketPosition
fn clone(&self) -> AudioPacketPosition
Returns a copy 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 AudioPacketPosition
impl Debug for AudioPacketPosition
Auto Trait Implementations§
impl RefUnwindSafe for AudioPacketPosition
impl Send for AudioPacketPosition
impl Sync for AudioPacketPosition
impl Unpin for AudioPacketPosition
impl UnwindSafe for AudioPacketPosition
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