IPodSource

Struct IPodSource 

Source
pub struct IPodSource { /* private fields */ }
Expand description

Safe wrapper over a IITIPodSource

Implementations§

Source§

impl IPodSource

Source

pub fn UpdateIPod(&self) -> Result<()>

Update the contents of the iPod.

Source

pub fn EjectIPod(&self) -> Result<()>

Eject the iPod.

Source

pub fn SoftwareVersion(&self) -> Result<String>

The iPod software version.

Trait Implementations§

Source§

impl IITObjectWrapper for IPodSource

Source§

fn GetITObjectIDs(&self) -> Result<ObjectIDs>

Returns the four IDs that uniquely identify this object. Read more
Source§

fn as_variant(&self) -> Variant<'_, Self::WrappedType>

Get a COM VARIANT pointing to this object
Source§

fn persistent_id(&self) -> Result<PersistentId>

Convenience function around iTunes::GetITObjectPersistentID
Source§

fn Name(&self) -> Result<String>

The name of the object.
Source§

fn set_Name(&self, Name: &str) -> Result<()>

The name of the object.
Source§

fn Index(&self) -> Result<i32>

The index of the object in internal application order (1-based).
Source§

fn sourceID(&self) -> Result<i32>

The source ID of the object.
Source§

fn playlistID(&self) -> Result<i32>

The playlist ID of the object.
Source§

fn trackID(&self) -> Result<i32>

The track ID of the object.
Source§

fn TrackDatabaseID(&self) -> Result<i32>

The track database ID of the object.
Source§

impl ITunesRelatedObject for IPodSource

Source§

fn iTunes_instance(&self) -> Arc<iTunes>

Return the related iTunes instance this object is related to

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.