pub struct CdCurrentPosition {
pub track: u8,
pub index: u8,
pub absolute_position: TimePosition,
pub relative_position: TimePosition,
}Available on crate feature
mmc only.Expand description
CD current position information.
Fields§
§track: u8track number
index: u8index number
absolute_position: TimePositionposition relative to the logical beginning of the media
relative_position: TimePositionposition relative to the logical beginning of the current track
Trait Implementations§
Source§impl Clone for CdCurrentPosition
impl Clone for CdCurrentPosition
Source§fn clone(&self) -> CdCurrentPosition
fn clone(&self) -> CdCurrentPosition
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 CdCurrentPosition
Source§impl Debug for CdCurrentPosition
impl Debug for CdCurrentPosition
Source§impl Default for CdCurrentPosition
impl Default for CdCurrentPosition
Source§fn default() -> CdCurrentPosition
fn default() -> CdCurrentPosition
Returns the “default value” for a type. Read more
impl Eq for CdCurrentPosition
Source§impl Hash for CdCurrentPosition
impl Hash for CdCurrentPosition
Source§impl Ord for CdCurrentPosition
impl Ord for CdCurrentPosition
Source§fn cmp(&self, other: &CdCurrentPosition) -> Ordering
fn cmp(&self, other: &CdCurrentPosition) -> 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
Source§impl PartialEq for CdCurrentPosition
impl PartialEq for CdCurrentPosition
Source§impl PartialOrd for CdCurrentPosition
impl PartialOrd for CdCurrentPosition
impl StructuralPartialEq for CdCurrentPosition
Auto Trait Implementations§
impl Freeze for CdCurrentPosition
impl RefUnwindSafe for CdCurrentPosition
impl Send for CdCurrentPosition
impl Sync for CdCurrentPosition
impl Unpin for CdCurrentPosition
impl UnsafeUnpin for CdCurrentPosition
impl UnwindSafe for CdCurrentPosition
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