pub struct LoopOptions {
pub command: Vec<String>,
pub cwd: Option<String>,
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
pub include_only: Option<Vec<String>>,
pub exclude_only: Option<Vec<String>>,
pub include_pattern: Option<String>,
pub exclude_pattern: Option<String>,
pub init: bool,
}
Expand description
Represents the command-line options for the loop command.
This struct holds all the possible options that can be passed to the loop command, including the command to execute, directories to include or exclude, and patterns for filtering directories.
Fields§
§command: Vec<String>
§cwd: Option<String>
§include: Option<Vec<String>>
§exclude: Option<Vec<String>>
§include_only: Option<Vec<String>>
§exclude_only: Option<Vec<String>>
§include_pattern: Option<String>
§exclude_pattern: Option<String>
§init: bool
Trait Implementations§
Source§impl Clone for LoopOptions
impl Clone for LoopOptions
Source§fn clone(&self) -> LoopOptions
fn clone(&self) -> LoopOptions
Returns a copy 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 LoopOptions
impl RefUnwindSafe for LoopOptions
impl Send for LoopOptions
impl Sync for LoopOptions
impl Unpin for LoopOptions
impl UnwindSafe for LoopOptions
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