Struct pdf::object::FieldDictionary
source · pub struct FieldDictionary {
pub typ: Option<FieldType>,
pub parent: Option<MaybeRef<FieldDictionary>>,
pub kids: Vec<Ref<FieldDictionary>>,
pub name: Option<PdfString>,
pub alt_name: Option<PdfString>,
pub mapping_name: Option<PdfString>,
pub flags: u32,
pub sig_flags: u32,
pub value: Primitive,
pub default_value: Primitive,
pub actions: Option<Dictionary>,
}
Fields§
§typ: Option<FieldType>
§parent: Option<MaybeRef<FieldDictionary>>
§kids: Vec<Ref<FieldDictionary>>
§name: Option<PdfString>
§alt_name: Option<PdfString>
§mapping_name: Option<PdfString>
§flags: u32
§sig_flags: u32
§value: Primitive
§default_value: Primitive
§actions: Option<Dictionary>
Trait Implementations§
source§impl DataSize for FieldDictionary
impl DataSize for FieldDictionary
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 = 144usize
const STATIC_HEAP_SIZE: usize = 144usize
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 FieldDictionary
impl Debug for FieldDictionary
source§impl FromDict for FieldDictionary
impl FromDict for FieldDictionary
source§impl Object for FieldDictionary
impl Object for FieldDictionary
source§impl ObjectWrite for FieldDictionary
impl ObjectWrite for FieldDictionary
source§impl ToDict for FieldDictionary
impl ToDict for FieldDictionary
Auto Trait Implementations§
impl RefUnwindSafe for FieldDictionary
impl Send for FieldDictionary
impl Sync for FieldDictionary
impl Unpin for FieldDictionary
impl UnwindSafe for FieldDictionary
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