pub struct Plan {Show 13 fields
pub library: Library,
pub tracks: Vec<PlanTrack>,
pub selected: Vec<usize>,
pub skipped: Vec<Skipped>,
pub settings_dir: Option<PathBuf>,
pub settings_files: Vec<&'static str>,
pub anlz_roots: Vec<PathBuf>,
pub anlz_files_indexed: usize,
pub device: PathBuf,
pub volume_root: bool,
pub device_name: String,
pub cdjsafe: bool,
pub prune: bool,
}Fields§
§library: Library§tracks: Vec<PlanTrack>§selected: Vec<usize>Indices into library.playlists.
skipped: Vec<Skipped>§settings_dir: Option<PathBuf>None with no_settings.
settings_files: Vec<&'static str>Settings files to copy, already validated so a bad one fails before anything is written.
anlz_roots: Vec<PathBuf>§anlz_files_indexed: usize§device: PathBuf§volume_root: boolfalse when the device is a directory on the disk of its parent, such
as an empty mount point with no stick mounted on it.
device_name: String§cdjsafe: bool§prune: boolImplementations§
Source§impl Plan
impl Plan
Sourcepub fn generated(&self) -> usize
pub fn generated(&self) -> usize
Tracks whose analysis files will be generated rather than copied.
Sourcepub fn without_grid(&self) -> usize
pub fn without_grid(&self) -> usize
Generated tracks whose XML carries no beat grid (TEMPO), so they get
none on the stick either.
pub fn playlist_names(&self) -> Vec<&str>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more