pub enum FileDataType {
Utf8,
NonUtf8,
}
Expand description
Enumerates the possible data formats of a crate file.
This enum helps in distinguishing between different text encoding formats of the files contained in a crate.
Variants§
Trait Implementations§
Source§impl Clone for FileDataType
impl Clone for FileDataType
Source§fn clone(&self) -> FileDataType
fn clone(&self) -> FileDataType
Returns a copy 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 moreSource§impl Debug for FileDataType
impl Debug for FileDataType
Source§impl Default for FileDataType
impl Default for FileDataType
Source§fn default() -> FileDataType
fn default() -> FileDataType
Returns the “default value” for a type. Read more
Source§impl Hash for FileDataType
impl Hash for FileDataType
Source§impl Ord for FileDataType
impl Ord for FileDataType
Source§fn cmp(&self, other: &FileDataType) -> Ordering
fn cmp(&self, other: &FileDataType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileDataType
impl PartialEq for FileDataType
Source§impl PartialOrd for FileDataType
impl PartialOrd for FileDataType
impl Copy for FileDataType
impl Eq for FileDataType
impl StructuralPartialEq for FileDataType
Auto Trait Implementations§
impl Freeze for FileDataType
impl RefUnwindSafe for FileDataType
impl Send for FileDataType
impl Sync for FileDataType
impl Unpin for FileDataType
impl UnwindSafe for FileDataType
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.