pub struct DeveloperExtension {
pub prefix: String,
pub base_version: String,
pub extension_level: i64,
}Expand description
A developer-defined extension to the standard the document uses (ISO
32000-1 §7.12.2, Table 50): one entry of the catalog’s /Extensions.
Fields§
§prefix: StringThe developer’s registered prefix (Annex E), the entry’s key.
base_version: String/BaseVersion: the PDF version the extension applies to, in the
catalog /Version syntax (1.7), as written (§7.12.3).
extension_level: i64/ExtensionLevel: the developer’s number for the extension, higher
for a later extension to the same base version (§7.12.4).
Implementations§
Source§impl DeveloperExtension
impl DeveloperExtension
Sourcepub fn base_version_numbers(&self) -> Option<(u32, u32)>
pub fn base_version_numbers(&self) -> Option<(u32, u32)>
The base version as the two integers §7.12.3 reads it as, not as a
real number (1.7 is (1, 7)); None when it is not two integers
around a period.
Covers ISO 32000-1 §7.12.3.
Trait Implementations§
Source§impl Clone for DeveloperExtension
impl Clone for DeveloperExtension
Source§fn clone(&self) -> DeveloperExtension
fn clone(&self) -> DeveloperExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeveloperExtension
impl Debug for DeveloperExtension
impl Eq for DeveloperExtension
Source§impl PartialEq for DeveloperExtension
impl PartialEq for DeveloperExtension
impl StructuralPartialEq for DeveloperExtension
Auto Trait Implementations§
impl Freeze for DeveloperExtension
impl RefUnwindSafe for DeveloperExtension
impl Send for DeveloperExtension
impl Sync for DeveloperExtension
impl Unpin for DeveloperExtension
impl UnsafeUnpin for DeveloperExtension
impl UnwindSafe for DeveloperExtension
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