pub enum ContentFamily {
Code,
Prose,
Markup,
Data,
Binary,
Unknown,
}Expand description
Broad analysis family for a recognized file type.
Variants§
Code
Programming and configuration languages with code-like comment syntax.
Prose
Human-authored prose.
Markup
Mixed markup whose reader-visible text may need projection.
Data
Structured textual or binary data.
Binary
Known binary formats that text analyzers must not open.
Unknown
No family was established by the bounded cascade.
Implementations§
Trait Implementations§
Source§impl Clone for ContentFamily
impl Clone for ContentFamily
impl Copy for ContentFamily
Source§impl Debug for ContentFamily
impl Debug for ContentFamily
impl Eq for ContentFamily
Source§impl Hash for ContentFamily
impl Hash for ContentFamily
Source§impl Ord for ContentFamily
impl Ord for ContentFamily
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContentFamily
impl PartialEq for ContentFamily
Source§impl PartialOrd for ContentFamily
impl PartialOrd for ContentFamily
impl StructuralPartialEq for ContentFamily
Auto Trait Implementations§
impl Freeze for ContentFamily
impl RefUnwindSafe for ContentFamily
impl Send for ContentFamily
impl Sync for ContentFamily
impl Unpin for ContentFamily
impl UnsafeUnpin for ContentFamily
impl UnwindSafe for ContentFamily
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