[−][src]Struct dupe_krill::FileContent
File content is efficiently compared using this struct's PartialOrd
implementation
Methods
impl FileContent
[src]
pub fn from_path(path: impl Into<PathBuf>) -> Result<Self, Error>
[src]
pub fn new(path: impl Into<PathBuf>, metadata: Metadata) -> Self
[src]
Trait Implementations
impl Debug for FileContent
[src]
impl Eq for FileContent
[src]
impl Ord for FileContent
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<FileContent> for FileContent
[src]
impl PartialOrd<FileContent> for FileContent
[src]
That does the bulk of hasing and comparisons
Auto Trait Implementations
impl !RefUnwindSafe for FileContent
impl Send for FileContent
impl !Sync for FileContent
impl Unpin for FileContent
impl UnwindSafe for FileContent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,