#[repr(transparent)]pub struct ITLibInitOptions(pub NSUInteger);Available on crate feature
ITLibrary only.Expand description
These constants describe the options that can be passed supported by a given iTunes library.
Load the library immediately on ITLibrary instance creation.
Don’t load the library until the first request for data.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl ITLibInitOptions
impl ITLibInitOptions
pub const None: Self
Sourcepub const LazyLoadData: Self
pub const LazyLoadData: Self
ITLibrary will be initialized but no iTunes library data will be loaded. Data will be lazy-loaded upon request.
Trait Implementations§
Source§impl Clone for ITLibInitOptions
impl Clone for ITLibInitOptions
Source§fn clone(&self) -> ITLibInitOptions
fn clone(&self) -> ITLibInitOptions
Returns a duplicate 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 ITLibInitOptions
impl Debug for ITLibInitOptions
Source§impl Encode for ITLibInitOptions
impl Encode for ITLibInitOptions
Source§impl Hash for ITLibInitOptions
impl Hash for ITLibInitOptions
Source§impl Ord for ITLibInitOptions
impl Ord for ITLibInitOptions
Source§fn cmp(&self, other: &ITLibInitOptions) -> Ordering
fn cmp(&self, other: &ITLibInitOptions) -> Ordering
1.21.0 · 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 ITLibInitOptions
impl PartialEq for ITLibInitOptions
Source§impl PartialOrd for ITLibInitOptions
impl PartialOrd for ITLibInitOptions
Source§impl RefEncode for ITLibInitOptions
impl RefEncode for ITLibInitOptions
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for ITLibInitOptions
impl Eq for ITLibInitOptions
impl StructuralPartialEq for ITLibInitOptions
Auto Trait Implementations§
impl Freeze for ITLibInitOptions
impl RefUnwindSafe for ITLibInitOptions
impl Send for ITLibInitOptions
impl Sync for ITLibInitOptions
impl Unpin for ITLibInitOptions
impl UnwindSafe for ITLibInitOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.