pub enum StringSyntax {
Literal,
Hex,
}Expand description
How the string was spelled in the file.
PDF has two string syntaxes; a parsed string remembers which one it came from so that rewriting a file reproduces it. The choice carries no semantics — the bytes are identical either way.
Variants§
Trait Implementations§
Source§impl Clone for StringSyntax
impl Clone for StringSyntax
Source§fn clone(&self) -> StringSyntax
fn clone(&self) -> StringSyntax
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 moreimpl Copy for StringSyntax
Source§impl Debug for StringSyntax
impl Debug for StringSyntax
impl Eq for StringSyntax
Source§impl Hash for StringSyntax
impl Hash for StringSyntax
Source§impl PartialEq for StringSyntax
impl PartialEq for StringSyntax
impl StructuralPartialEq for StringSyntax
Auto Trait Implementations§
impl Freeze for StringSyntax
impl RefUnwindSafe for StringSyntax
impl Send for StringSyntax
impl Sync for StringSyntax
impl Unpin for StringSyntax
impl UnsafeUnpin for StringSyntax
impl UnwindSafe for StringSyntax
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