pub struct BrewAction { /* private fields */ }Expand description
BrewAction Installs software using homebrew.
Implementations§
Source§impl BrewAction
impl BrewAction
Sourcepub fn skip_in_ci(&self) -> &bool
pub fn skip_in_ci(&self) -> &bool
Skips this action if it is running in a CI environment.
Sourcepub fn force_casks(&self) -> &bool
pub fn force_casks(&self) -> &bool
Passes --force to brew install --cask.
Sourcepub fn adopt_casks(&self) -> &bool
pub fn adopt_casks(&self) -> &bool
when the app is already installed before the cask install.
Sourcepub fn auto_trust_taps(&self) -> &bool
pub fn auto_trust_taps(&self) -> &bool
Automatically run brew trust on any custom taps.
Trait Implementations§
Source§impl Action for BrewAction
impl Action for BrewAction
Source§fn skip_in_ci(&self) -> bool
fn skip_in_ci(&self) -> bool
Whether to skip this action in Continuous Integration environments. Read more
Source§fn check_conditions_and_execute(&self) -> Result<(), DotfilesError>
fn check_conditions_and_execute(&self) -> Result<(), DotfilesError>
Checks that the conditions allow for executing this action, and if so executes it according to
[execute(&self)]. Read more
Source§impl Debug for BrewAction
impl Debug for BrewAction
impl Eq for BrewAction
Source§impl PartialEq for BrewAction
impl PartialEq for BrewAction
Source§fn eq(&self, other: &BrewAction) -> bool
fn eq(&self, other: &BrewAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrewAction
Auto Trait Implementations§
impl Freeze for BrewAction
impl RefUnwindSafe for BrewAction
impl Send for BrewAction
impl Sync for BrewAction
impl Unpin for BrewAction
impl UnsafeUnpin for BrewAction
impl UnwindSafe for BrewAction
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