pub struct RealtimeSlotCoordinate { /* private fields */ }Expand description
One absolute position in a canonical text-plus-audio slot timeline.
Implementations§
Source§impl RealtimeSlotCoordinate
impl RealtimeSlotCoordinate
Sourcepub const fn new(position: usize, slot: RealtimeFrameSlot) -> Self
pub const fn new(position: usize, slot: RealtimeFrameSlot) -> Self
Creates one portable delayed-slot coordinate.
Sourcepub const fn slot(self) -> RealtimeFrameSlot
pub const fn slot(self) -> RealtimeFrameSlot
Text or audio stream slot.
Trait Implementations§
Source§impl Clone for RealtimeSlotCoordinate
impl Clone for RealtimeSlotCoordinate
Source§fn clone(&self) -> RealtimeSlotCoordinate
fn clone(&self) -> RealtimeSlotCoordinate
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 RealtimeSlotCoordinate
Source§impl Debug for RealtimeSlotCoordinate
impl Debug for RealtimeSlotCoordinate
impl Eq for RealtimeSlotCoordinate
Source§impl Hash for RealtimeSlotCoordinate
impl Hash for RealtimeSlotCoordinate
Source§impl Ord for RealtimeSlotCoordinate
impl Ord for RealtimeSlotCoordinate
Source§fn cmp(&self, other: &RealtimeSlotCoordinate) -> Ordering
fn cmp(&self, other: &RealtimeSlotCoordinate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RealtimeSlotCoordinate
impl PartialEq for RealtimeSlotCoordinate
Source§impl PartialOrd for RealtimeSlotCoordinate
impl PartialOrd for RealtimeSlotCoordinate
impl StructuralPartialEq for RealtimeSlotCoordinate
Auto Trait Implementations§
impl Freeze for RealtimeSlotCoordinate
impl RefUnwindSafe for RealtimeSlotCoordinate
impl Send for RealtimeSlotCoordinate
impl Sync for RealtimeSlotCoordinate
impl Unpin for RealtimeSlotCoordinate
impl UnsafeUnpin for RealtimeSlotCoordinate
impl UnwindSafe for RealtimeSlotCoordinate
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