pub enum ViewerContent {
Text(String),
Binary(String),
}Expand description
What the viewer found in a file, already formatted for display.
Variants§
Text(String)
Readable text, ready to render as-is.
Binary(String)
An offset/hex/ASCII dump of bytes that are not readable text.
Implementations§
Trait Implementations§
Source§impl Clone for ViewerContent
impl Clone for ViewerContent
Source§impl Debug for ViewerContent
impl Debug for ViewerContent
impl Eq for ViewerContent
Source§impl PartialEq for ViewerContent
impl PartialEq for ViewerContent
impl StructuralPartialEq for ViewerContent
Auto Trait Implementations§
impl Forget for ViewerContent
impl Freeze for ViewerContent
impl Move for ViewerContent
impl RefUnwindSafe for ViewerContent
impl Send for ViewerContentwhere
RawVecInner: Send,
impl Sync for ViewerContentwhere
RawVecInner: Sync,
impl Unpin for ViewerContent
impl UnsafeUnpin for ViewerContent
impl UnwindSafe for ViewerContentwhere
RawVecInner: UnwindSafe,
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.