pub struct FilePath {
pub path: RelativePathBuf,
pub len: usize,
}
Expand description
A file path, without its contents.
Fields§
§path: RelativePathBuf
The path of the file in the fs.
len: usize
The length of the file in the fs.
Implementations§
Trait Implementations§
Source§impl Ord for FilePath
impl Ord for FilePath
Source§impl PartialOrd for FilePath
impl PartialOrd for FilePath
impl Eq for FilePath
impl StructuralPartialEq for FilePath
Auto Trait Implementations§
impl Freeze for FilePath
impl RefUnwindSafe for FilePath
impl Send for FilePath
impl Sync for FilePath
impl Unpin for FilePath
impl UnwindSafe for FilePath
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