pub struct EvalContext<'a> {
pub root: &'a Path,
pub cwd: &'a Path,
}Expand description
Where a call happens: the project the policy governs and the directory relative paths in the call start from.
Fields§
§root: &'a Path§cwd: &'a PathTrait Implementations§
Source§impl<'a> Clone for EvalContext<'a>
impl<'a> Clone for EvalContext<'a>
impl<'a> Copy for EvalContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for EvalContext<'a>
impl<'a> RefUnwindSafe for EvalContext<'a>
impl<'a> Send for EvalContext<'a>
impl<'a> Sync for EvalContext<'a>
impl<'a> Unpin for EvalContext<'a>
impl<'a> UnsafeUnpin for EvalContext<'a>
impl<'a> UnwindSafe for EvalContext<'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