pub struct Tasks {
pub visible: bool,
pub cursor: usize,
pub progress: TasksProgress,
pub summaries: Vec<TaskSummary>,
/* private fields */
}
Fields§
§visible: bool
§cursor: usize
§progress: TasksProgress
§summaries: Vec<TaskSummary>
Implementations§
Source§impl Tasks
impl Tasks
pub fn process_exec(&mut self, opt: impl TryInto<ProcessExecOpt>)
Source§impl Tasks
impl Tasks
pub fn file_cut(&self, src: &[&Url], dest: &Url, force: bool)
pub fn file_copy(&self, src: &[&Url], dest: &Url, force: bool, follow: bool)
pub fn file_link( &self, src: &HashSet<Url>, dest: &Url, relative: bool, force: bool, )
pub fn file_hardlink( &self, src: &HashSet<Url>, dest: &Url, force: bool, follow: bool, )
pub fn file_remove(&self, targets: Vec<Url>, permanently: bool)
Source§impl Tasks
impl Tasks
pub fn plugin_micro(&self, opt: PluginOpt)
pub fn plugin_macro(&self, opt: PluginOpt)
Source§impl Tasks
impl Tasks
pub fn fetch_paged(&self, paged: &[File], mimetype: &Mimetype)
pub fn preload_paged(&self, paged: &[File], mimetype: &Mimetype)
pub fn prework_sorted(&self, targets: &Files)
Auto Trait Implementations§
impl Freeze for Tasks
impl !RefUnwindSafe for Tasks
impl Send for Tasks
impl Sync for Tasks
impl Unpin for Tasks
impl !UnwindSafe for Tasks
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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