pub struct LibraryConfig {
pub music_directory: Vec<PathBuf>,
pub sort_order: SortOrder,
pub artist_view_order: ArtistViewOrder,
pub artist_photo_source: ArtistPhotoSource,
pub auto_fetch_covers: bool,
pub cover_fetch_strategy: FetchStrategy,
}Fields§
§music_directory: Vec<PathBuf>§sort_order: SortOrder§artist_view_order: ArtistViewOrder§artist_photo_source: ArtistPhotoSource§auto_fetch_covers: bool§cover_fetch_strategy: FetchStrategyTrait Implementations§
Source§impl Clone for LibraryConfig
impl Clone for LibraryConfig
Source§fn clone(&self) -> LibraryConfig
fn clone(&self) -> LibraryConfig
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 moreSource§impl Debug for LibraryConfig
impl Debug for LibraryConfig
Source§impl PartialEq for LibraryConfig
impl PartialEq for LibraryConfig
Source§fn eq(&self, other: &LibraryConfig) -> bool
fn eq(&self, other: &LibraryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LibraryConfig
Auto Trait Implementations§
impl Freeze for LibraryConfig
impl RefUnwindSafe for LibraryConfig
impl Send for LibraryConfig
impl Sync for LibraryConfig
impl Unpin for LibraryConfig
impl UnsafeUnpin for LibraryConfig
impl UnwindSafe for LibraryConfig
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