pub struct MultiExportManager { /* private fields */ }Expand description
Batch multi-format export manager.
Implementations§
Source§impl MultiExportManager
impl MultiExportManager
Sourcepub fn with_standard_presets() -> Self
pub fn with_standard_presets() -> Self
Create a manager with standard presets.
Sourcepub fn add_profile(&mut self, profile: ExportProfile)
pub fn add_profile(&mut self, profile: ExportProfile)
Add an export profile.
Sourcepub fn profiles(&self) -> &[ExportProfile]
pub fn profiles(&self) -> &[ExportProfile]
Get all profiles.
Sourcepub fn queue_export(
&mut self,
profile_id: ProfileId,
base_output: &str,
) -> Option<usize>
pub fn queue_export( &mut self, profile_id: ProfileId, base_output: &str, ) -> Option<usize>
Queue an export job for a given profile.
Sourcepub fn get_job_mut(&mut self, index: usize) -> Option<&mut ExportJob>
pub fn get_job_mut(&mut self, index: usize) -> Option<&mut ExportJob>
Get a mutable job by index.
Sourcepub fn overall_progress(&self) -> f64
pub fn overall_progress(&self) -> f64
Get the overall progress across all jobs.
Sourcepub fn completed_count(&self) -> usize
pub fn completed_count(&self) -> usize
Get count of completed jobs.
Sourcepub fn clear_jobs(&mut self)
pub fn clear_jobs(&mut self)
Clear all jobs.
Trait Implementations§
Source§impl Debug for MultiExportManager
impl Debug for MultiExportManager
Source§impl Default for MultiExportManager
impl Default for MultiExportManager
Source§fn default() -> MultiExportManager
fn default() -> MultiExportManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MultiExportManager
impl RefUnwindSafe for MultiExportManager
impl Send for MultiExportManager
impl Sync for MultiExportManager
impl Unpin for MultiExportManager
impl UnsafeUnpin for MultiExportManager
impl UnwindSafe for MultiExportManager
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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