pub struct TrackCollection { /* private fields */ }Expand description
Safe wrapper over a IITTrackCollection
Implementations§
Source§impl TrackCollection
impl TrackCollection
Sourcepub fn ItemByPlayOrder(&self, Index: i32) -> Result<Track>
pub fn ItemByPlayOrder(&self, Index: i32) -> Result<Track>
Returns an IITTrack object corresponding to the given index, where the index is defined by the play order of the playlist containing the track collection (1-based).
Sourcepub fn ItemByName(&self, name: &str) -> Result<Track>
pub fn ItemByName(&self, name: &str) -> Result<Track>
Returns an IITTrack object with the specified name.
Sourcepub fn ItemByPersistentID(&self, id: PersistentId) -> Result<Track>
pub fn ItemByPersistentID(&self, id: PersistentId) -> Result<Track>
Returns an IITTrack object with the specified persistent ID.
Trait Implementations§
Source§impl ITunesRelatedObject for TrackCollection
impl ITunesRelatedObject for TrackCollection
Source§fn iTunes_instance(&self) -> Arc<iTunes>
fn iTunes_instance(&self) -> Arc<iTunes>
Return the related iTunes instance this object is related to
Auto Trait Implementations§
impl Freeze for TrackCollection
impl RefUnwindSafe for TrackCollection
impl !Send for TrackCollection
impl !Sync for TrackCollection
impl Unpin for TrackCollection
impl UnwindSafe for TrackCollection
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