Enum sndjvu_format::ComponentKind
source · pub enum ComponentKind {
Djvi,
Djvu,
Thum,
}
Expand description
The type of a component in a multi-page DjVu document.
Variants§
Djvi
DJVI
component (elements shared between pages).
Djvu
DJVU
component (a page).
Thum
THUM
component (page thumbnails).
Trait Implementations§
source§impl Clone for ComponentKind
impl Clone for ComponentKind
source§fn clone(&self) -> ComponentKind
fn clone(&self) -> ComponentKind
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 ComponentKind
impl Debug for ComponentKind
source§impl PartialEq for ComponentKind
impl PartialEq for ComponentKind
source§fn eq(&self, other: &ComponentKind) -> bool
fn eq(&self, other: &ComponentKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ComponentKind
impl Eq for ComponentKind
impl StructuralEq for ComponentKind
impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnwindSafe for ComponentKind
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