#[repr(C)]pub enum ITPlaylistSearchField {
ITPlaylistSearchFieldAll = 0,
ITPlaylistSearchFieldVisible = 1,
ITPlaylistSearchFieldArtists = 2,
ITPlaylistSearchFieldAlbums = 3,
ITPlaylistSearchFieldComposers = 4,
ITPlaylistSearchFieldSongNames = 5,
}Expand description
Specifies the fields in each track that will be searched by IITPlaylist::Search().
Variants§
ITPlaylistSearchFieldAll = 0
Search all fields of each track.
ITPlaylistSearchFieldVisible = 1
Search only the fields with columns that are currently visible in the display for the playlist. Note that song name, artist, album, and composer will always be searched, even if these columns are not visible.
ITPlaylistSearchFieldArtists = 2
Search only the artist field of each track (IITTrack::Artist).
ITPlaylistSearchFieldAlbums = 3
Search only the album field of each track (IITTrack::Album).
ITPlaylistSearchFieldComposers = 4
Search only the composer field of each track (IITTrack::Composer).
ITPlaylistSearchFieldSongNames = 5
Search only the song name field of each track (IITTrack::Name).
Trait Implementations§
Source§impl Debug for ITPlaylistSearchField
impl Debug for ITPlaylistSearchField
Source§impl FromPrimitive for ITPlaylistSearchField
impl FromPrimitive for ITPlaylistSearchField
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl PartialEq for ITPlaylistSearchField
impl PartialEq for ITPlaylistSearchField
impl Eq for ITPlaylistSearchField
impl StructuralPartialEq for ITPlaylistSearchField
Auto Trait Implementations§
impl Freeze for ITPlaylistSearchField
impl RefUnwindSafe for ITPlaylistSearchField
impl Send for ITPlaylistSearchField
impl Sync for ITPlaylistSearchField
impl Unpin for ITPlaylistSearchField
impl UnwindSafe for ITPlaylistSearchField
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