pub struct PdfString {
pub bytes: Vec<u8>,
pub format: StringFormat,
}Expand description
A PDF string: raw bytes plus the syntax it was written in.
Added in 0.2.0.
Fields§
§bytes: Vec<u8>The decoded string bytes.
format: StringFormatLiteral or hex form, remembered so that re-serialization round-trips.
Implementations§
Trait Implementations§
impl Eq for PdfString
impl StructuralPartialEq for PdfString
Auto Trait Implementations§
impl Forget for PdfString
impl Freeze for PdfString
impl Move for PdfString
impl RefUnwindSafe for PdfString
impl Send for PdfString
impl Sync for PdfString
impl Unpin for PdfString
impl UnsafeUnpin for PdfString
impl UnwindSafe for PdfString
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