pub struct ResolveContext<'a> {
pub bottle_root: Option<&'a Path>,
pub executable_dir: &'a Path,
pub loader_dir: &'a Path,
pub rpaths: &'a [String],
}Expand description
Context for resolving one dependency install name.
Fields§
§bottle_root: Option<&'a Path>Bottle root (--root / session root). Absolute installs require this.
executable_dir: &'a PathDirectory containing the main executable (host path).
loader_dir: &'a PathDirectory containing the image that holds this load command (host path).
rpaths: &'a [String]LC_RPATH strings: loader image first, then main (caller concatenates).
Trait Implementations§
Source§impl<'a> Clone for ResolveContext<'a>
impl<'a> Clone for ResolveContext<'a>
Source§fn clone(&self) -> ResolveContext<'a>
fn clone(&self) -> ResolveContext<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ResolveContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResolveContext<'a>
impl<'a> RefUnwindSafe for ResolveContext<'a>
impl<'a> Send for ResolveContext<'a>
impl<'a> Sync for ResolveContext<'a>
impl<'a> Unpin for ResolveContext<'a>
impl<'a> UnsafeUnpin for ResolveContext<'a>
impl<'a> UnwindSafe for ResolveContext<'a>
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