Struct alpm_utils::config::Options
source · pub struct Options { /* private fields */ }
Expand description
The options struct allows you to change settings prior to building.
Implementations§
source§impl Options
impl Options
sourcepub fn new() -> Options
pub fn new() -> Options
Creates a new empty Options instance. This allows you to change parsing options prior to parsing the config file.
sourcepub fn pacman_conf_bin<S>(&mut self, s: S) -> &mut Options
pub fn pacman_conf_bin<S>(&mut self, s: S) -> &mut Options
Configure the path of the pacman-conf helper utility.
sourcepub fn pacman_conf<S>(&mut self, s: S) -> &mut Options
pub fn pacman_conf<S>(&mut self, s: S) -> &mut Options
Configure the path for the pacman config file. Not setting this will cause the system default to be used.
Trait Implementations§
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)