#[non_exhaustive]pub struct ModuleResolutionRoot {
pub path: String,
pub kind: IncRootKind,
pub source: String,
}Expand description
Caller-supplied include root for module-resolution candidate facts.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: StringInclude root path as configured or observed by the caller.
kind: IncRootKindRoot source category.
source: StringHuman-readable source label for diagnostics/status output.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleResolutionRoot
impl Clone for ModuleResolutionRoot
Source§fn clone(&self) -> ModuleResolutionRoot
fn clone(&self) -> ModuleResolutionRoot
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 moreSource§impl Debug for ModuleResolutionRoot
impl Debug for ModuleResolutionRoot
Source§impl PartialEq for ModuleResolutionRoot
impl PartialEq for ModuleResolutionRoot
Source§fn eq(&self, other: &ModuleResolutionRoot) -> bool
fn eq(&self, other: &ModuleResolutionRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ModuleResolutionRoot
impl StructuralPartialEq for ModuleResolutionRoot
Auto Trait Implementations§
impl Freeze for ModuleResolutionRoot
impl RefUnwindSafe for ModuleResolutionRoot
impl Send for ModuleResolutionRoot
impl Sync for ModuleResolutionRoot
impl Unpin for ModuleResolutionRoot
impl UnsafeUnpin for ModuleResolutionRoot
impl UnwindSafe for ModuleResolutionRoot
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