Struct sndjvu_format::parsing::ComponentMeta
source · pub struct ComponentMeta<'a> {
pub len: u32,
pub kind: ComponentKind,
pub id: &'a [u8],
pub name: Option<&'a [u8]>,
pub title: Option<&'a [u8]>,
}
Expand description
Basic metadata about one component of a multi-page document.
Fields§
§len: u32
§kind: ComponentKind
§id: &'a [u8]
§name: Option<&'a [u8]>
§title: Option<&'a [u8]>
Trait Implementations§
source§impl<'a> Clone for ComponentMeta<'a>
impl<'a> Clone for ComponentMeta<'a>
source§fn clone(&self) -> ComponentMeta<'a>
fn clone(&self) -> ComponentMeta<'a>
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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for ComponentMeta<'a>
impl<'a> Send for ComponentMeta<'a>
impl<'a> Sync for ComponentMeta<'a>
impl<'a> Unpin for ComponentMeta<'a>
impl<'a> UnwindSafe for ComponentMeta<'a>
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