pub struct LoadOptions {
pub profiles_dir: Option<PathBuf>,
pub target: Option<String>,
pub vars: BTreeMap<String, String>,
pub target_path: Option<String>,
}Fields§
§profiles_dir: Option<PathBuf>--profiles-dir; falls back to DRE_PROFILES_DIR, the project directory, then ~/.dre.
target: Option<String>--target, checked against referenced source profiles.
vars: BTreeMap<String, String>--var name=value, the top of every var() chain.
target_path: Option<String>--target-path, above DRE_TARGET_PATH and target_path:.
Trait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§impl Debug for LoadOptions
impl Debug for LoadOptions
Auto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnsafeUnpin for LoadOptions
impl UnwindSafe for LoadOptions
Blanket Implementations§
impl<T> Allocation for T
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