pub struct DiscoveredFile {
pub path: PathBuf,
pub origin: DiscoveryOrigin,
}Expand description
A discovered file with its origin information.
Fields§
§path: PathBufCanonical path to the file
origin: DiscoveryOriginHow this file was discovered
Trait Implementations§
Source§impl Clone for DiscoveredFile
impl Clone for DiscoveredFile
Source§fn clone(&self) -> DiscoveredFile
fn clone(&self) -> DiscoveredFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiscoveredFile
impl RefUnwindSafe for DiscoveredFile
impl Send for DiscoveredFile
impl Sync for DiscoveredFile
impl Unpin for DiscoveredFile
impl UnsafeUnpin for DiscoveredFile
impl UnwindSafe for DiscoveredFile
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