struct PermittedDeps<'a> {
roots: Option<&'a [&'a str]>,
deps: &'a [&'a str],
deps_loc: ListLocation,
}Fields§
§roots: Option<&'a [&'a str]>A list of crates for which dependencies need to be explicitly allowed or None to check the entire workspace.
deps: &'a [&'a str]The list of allowed dependencies.
deps_loc: ListLocationThe source code location of the allowed dependencies list.
Implementations§
Source§impl<'a> PermittedDeps<'a>
impl<'a> PermittedDeps<'a>
Trait Implementations§
Source§impl<'a> Clone for PermittedDeps<'a>
impl<'a> Clone for PermittedDeps<'a>
impl<'a> Copy for PermittedDeps<'a>
Auto Trait Implementations§
impl<'a> Freeze for PermittedDeps<'a>
impl<'a> RefUnwindSafe for PermittedDeps<'a>
impl<'a> Send for PermittedDeps<'a>
impl<'a> Sync for PermittedDeps<'a>
impl<'a> Unpin for PermittedDeps<'a>
impl<'a> UnsafeUnpin for PermittedDeps<'a>
impl<'a> UnwindSafe for PermittedDeps<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes