pub struct PathsTrack {
pub file_paths: Vec<String>,
pub level: f32,
pub pan: f32,
pub selections_count: u32,
}Expand description
Standalone file-path track configuration.
Fields§
§file_paths: Vec<String>Candidate file paths for this track.
level: f32Track gain scalar.
pan: f32Track pan position.
selections_count: u32Number of selections to pick per refresh.
Implementations§
Source§impl PathsTrack
impl PathsTrack
Sourcepub fn new_from_file_paths(file_paths: Vec<String>) -> Self
pub fn new_from_file_paths(file_paths: Vec<String>) -> Self
Create a new PathsTrack from a vector of file paths.
Trait Implementations§
Source§impl Clone for PathsTrack
impl Clone for PathsTrack
Source§fn clone(&self) -> PathsTrack
fn clone(&self) -> PathsTrack
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 moreAuto Trait Implementations§
impl Freeze for PathsTrack
impl RefUnwindSafe for PathsTrack
impl Send for PathsTrack
impl Sync for PathsTrack
impl Unpin for PathsTrack
impl UnwindSafe for PathsTrack
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