pub struct PathRequest<'a> {
pub name: &'a str,
pub path: &'a str,
pub subpath: Option<&'a str>,
pub declared_in: Option<&'a Rooted>,
}Expand description
A path dependency asked for: path as written (relative to declared_in’s root, or absolute),
narrowed to subpath.
Fields§
§name: &'a str§path: &'a str§subpath: Option<&'a str>§declared_in: Option<&'a Rooted>Trait Implementations§
Source§impl<'a> Clone for PathRequest<'a>
impl<'a> Clone for PathRequest<'a>
Auto Trait Implementations§
impl<'a> Forget for PathRequest<'a>
impl<'a> Freeze for PathRequest<'a>
impl<'a> Move for PathRequest<'a>
impl<'a> RefUnwindSafe for PathRequest<'a>
impl<'a> Send for PathRequest<'a>
impl<'a> Sync for PathRequest<'a>
impl<'a> Unpin for PathRequest<'a>
impl<'a> UnsafeUnpin for PathRequest<'a>
impl<'a> UnwindSafe for PathRequest<'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