ObjectWrite

Trait ObjectWrite 

Source
pub trait ObjectWrite {
    // Required method
    fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>;
}

Required Methods§

Source

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ObjectWrite for bool

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl ObjectWrite for f32

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl ObjectWrite for i32

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl ObjectWrite for u32

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl ObjectWrite for ()

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl ObjectWrite for usize

Source§

fn to_primitive(&self, _: &mut impl Updater) -> Result<Primitive>

Source§

impl<T, U> ObjectWrite for (T, U)
where T: ObjectWrite, U: ObjectWrite,

Source§

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Source§

impl<T: ObjectWrite> ObjectWrite for Option<T>

Source§

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Source§

impl<T: ObjectWrite> ObjectWrite for Box<T>

Source§

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Source§

impl<T: ObjectWrite> ObjectWrite for Vec<T>

Source§

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Source§

impl<V: ObjectWrite> ObjectWrite for HashMap<Name, V>

Source§

fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive>

Implementors§

Source§

impl ObjectWrite for BaseEncoding

Source§

impl ObjectWrite for CidToGidMap

Source§

impl ObjectWrite for FontStretch

Source§

impl ObjectWrite for FontType

Source§

impl ObjectWrite for FontTypeExt

Source§

impl ObjectWrite for Primitive

Source§

impl ObjectWrite for Action

Source§

impl ObjectWrite for AppearanceStreamEntry

Source§

impl ObjectWrite for ColorSpace

Source§

impl ObjectWrite for Counter

Source§

impl ObjectWrite for FieldType

Source§

impl ObjectWrite for Function

Source§

impl ObjectWrite for LineCap

Source§

impl ObjectWrite for LineJoin

Source§

impl ObjectWrite for MaybeNamedDest

Source§

impl ObjectWrite for PagesNode

Source§

impl ObjectWrite for Pattern

Source§

impl ObjectWrite for RenderingIntent

Source§

impl ObjectWrite for StructType

Source§

impl ObjectWrite for Trapped

Source§

impl ObjectWrite for XObject

Source§

impl ObjectWrite for Content

Source§

impl ObjectWrite for FormXObject

Source§

impl ObjectWrite for Matrix

Source§

impl ObjectWrite for CCITTFaxDecodeParams

Source§

impl ObjectWrite for DCTDecodeParams

Source§

impl ObjectWrite for JBIG2DecodeParams

Source§

impl ObjectWrite for LZWFlateParams

Source§

impl ObjectWrite for Encoding

Source§

impl ObjectWrite for Trailer

Source§

impl ObjectWrite for CIDFont

Source§

impl ObjectWrite for Font

Source§

impl ObjectWrite for FontDescriptor

Source§

impl ObjectWrite for FontStream3

Source§

impl ObjectWrite for TFont

Source§

impl ObjectWrite for Type0Font

Source§

impl ObjectWrite for Date

Source§

impl ObjectWrite for Dictionary

Source§

impl ObjectWrite for Name

Source§

impl ObjectWrite for PdfStream

Source§

impl ObjectWrite for PdfString

Source§

impl ObjectWrite for XRefInfo

Source§

impl ObjectWrite for Annot

Source§

impl ObjectWrite for AppearanceStreams

Source§

impl ObjectWrite for Catalog

Source§

impl ObjectWrite for Dest

Source§

impl ObjectWrite for EmbeddedFile

Source§

impl ObjectWrite for EmbeddedFileParamDict

Source§

impl ObjectWrite for FieldDictionary

Source§

impl ObjectWrite for FileSpec

Source§

impl ObjectWrite for FormDict

Source§

impl ObjectWrite for GraphicsStateParameters

Source§

impl ObjectWrite for IccInfo

Source§

impl ObjectWrite for ImageDict

Source§

impl ObjectWrite for ImageXObject

Source§

impl ObjectWrite for InfoDict

Source§

impl ObjectWrite for InteractiveFormDictionary

Source§

impl ObjectWrite for LageLabel

Source§

impl ObjectWrite for MarkInformation

Source§

impl ObjectWrite for NameDictionary

Source§

impl ObjectWrite for Outlines

Source§

impl ObjectWrite for Page

Source§

impl ObjectWrite for PageLabel

Source§

impl ObjectWrite for PageRc

Source§

impl ObjectWrite for PageTree

Source§

impl ObjectWrite for PagesRc

Source§

impl ObjectWrite for PatternDict

Source§

impl ObjectWrite for PlainRef

Source§

impl ObjectWrite for PostScriptDict

Source§

impl ObjectWrite for Rectangle

Source§

impl ObjectWrite for Resources

Source§

impl ObjectWrite for SeedValueDictionary

Source§

impl ObjectWrite for SignatureDictionary

Source§

impl ObjectWrite for SignatureReferenceDictionary

Source§

impl ObjectWrite for StructElem

Source§

impl ObjectWrite for StructTreeRoot

Source§

impl<I: ObjectWrite> ObjectWrite for Stream<I>

Source§

impl<T> ObjectWrite for RcRef<T>

Source§

impl<T> ObjectWrite for Ref<T>

Source§

impl<T: ObjectWrite> ObjectWrite for MaybeRef<T>

Source§

impl<T: ObjectWrite> ObjectWrite for Files<T>

Source§

impl<T: ObjectWrite> ObjectWrite for Lazy<T>

Source§

impl<T: ObjectWrite> ObjectWrite for NameTree<T>

Source§

impl<T: ObjectWrite> ObjectWrite for NumberTree<T>