pub struct FieldDictionary {Show 16 fields
pub typ: Option<FieldType>,
pub parent: Option<Ref<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 default_resources: Option<MaybeRef<Resources>>,
pub actions: Option<Dictionary>,
pub rect: Option<Rectangle>,
pub max_len: Option<u32>,
pub subtype: Option<Name>,
pub other: Dictionary,
}Fields§
§typ: Option<FieldType>§parent: Option<Ref<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§default_resources: Option<MaybeRef<Resources>>§actions: Option<Dictionary>§rect: Option<Rectangle>§max_len: Option<u32>§subtype: Option<Name>§other: DictionaryTrait Implementations§
Source§impl Clone for FieldDictionary
impl Clone for FieldDictionary
Source§fn clone(&self) -> FieldDictionary
fn clone(&self) -> FieldDictionary
Returns a duplicate 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 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 = 296usize
const STATIC_HEAP_SIZE: usize = 296usize
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 Freeze for FieldDictionary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more