pub struct RcfileMarkerSelection {
pub bash: bool,
pub zsh: bool,
pub pwsh: bool,
pub nu: bool,
}Expand description
Which shells should have their rcfile checked for the runex init
marker. The struct exists (rather than a bare Vec<Shell>) so
future per-shell options (skip-if-missing, custom path overrides)
can be added without churning callers.
Fields§
§bash: bool§zsh: bool§pwsh: bool§nu: boolImplementations§
Trait Implementations§
Source§impl Clone for RcfileMarkerSelection
impl Clone for RcfileMarkerSelection
Source§fn clone(&self) -> RcfileMarkerSelection
fn clone(&self) -> RcfileMarkerSelection
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 moreSource§impl Debug for RcfileMarkerSelection
impl Debug for RcfileMarkerSelection
Source§impl Default for RcfileMarkerSelection
impl Default for RcfileMarkerSelection
Source§fn default() -> RcfileMarkerSelection
fn default() -> RcfileMarkerSelection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RcfileMarkerSelection
impl RefUnwindSafe for RcfileMarkerSelection
impl Send for RcfileMarkerSelection
impl Sync for RcfileMarkerSelection
impl Unpin for RcfileMarkerSelection
impl UnsafeUnpin for RcfileMarkerSelection
impl UnwindSafe for RcfileMarkerSelection
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