Enum pdf::object::StructType
source · pub enum StructType {
Show 51 variants
Document,
Part,
Art,
Sect,
Div,
BlockQuote,
Caption,
TOC,
TOCI,
Index,
NonStruct,
Private,
Book,
P,
H,
H1,
H2,
H3,
H4,
H5,
H6,
L,
Ll,
Lbl,
LBody,
Table,
TR,
TH,
TD,
THead,
TBody,
TFoot,
Span,
Quote,
Note,
Reference,
BibEntry,
Code,
Link,
Annot,
Ruby,
RB,
RT,
RP,
Warichu,
WT,
WP,
Figure,
Formula,
Form,
Other(String),
}
Variants§
Document
Part
Art
Sect
Div
BlockQuote
Caption
TOC
TOCI
Index
NonStruct
Private
Book
P
H
H1
H2
H3
H4
H5
H6
L
Ll
Lbl
LBody
Table
TR
TH
TD
THead
TBody
TFoot
Span
Quote
Note
Reference
BibEntry
Code
Link
Annot
Ruby
RB
RT
RP
Warichu
WT
WP
Figure
Formula
Form
Other(String)
Trait Implementations§
source§impl DataSize for StructTypewhere
String: DataSize,
impl DataSize for StructTypewhere String: DataSize,
source§const IS_DYNAMIC: bool = true
const IS_DYNAMIC: bool = true
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for StructType
impl Debug for StructType
source§impl Object for StructType
impl Object for StructType
source§impl ObjectWrite for StructType
impl ObjectWrite for StructType
Auto Trait Implementations§
impl RefUnwindSafe for StructType
impl Send for StructType
impl Sync for StructType
impl Unpin for StructType
impl UnwindSafe for StructType
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