Trait Primitive
pdf_writer
pub trait Primitive { fn write(self, buf: &mut Vec<u8>); }
A primitive PDF object.
fn write(self, buf: &mut Vec<u8>)
Write the object into a buffer.
impl Primitive for bool
impl Primitive for i32
impl Primitive for f32
impl Primitive for Name<'_>
impl Primitive for Null
impl Primitive for Rect
impl Primitive for Ref
impl Primitive for Str<'_>