pub struct AnnotationFlags(/* private fields */);Expand description
Annotation flags per PDF spec Table 165.
These flags control how the annotation behaves when displayed or printed.
Implementations§
Source§impl AnnotationFlags
impl AnnotationFlags
Sourcepub const TOGGLE_NO_VIEW: u32
pub const TOGGLE_NO_VIEW: u32
ToggleNoView flag (bit 9) - Invert NoView on mouse events.
Sourcepub const LOCKED_CONTENTS: u32
pub const LOCKED_CONTENTS: u32
LockedContents flag (bit 10) - If set, do not allow content modification.
Sourcepub fn is_invisible(&self) -> bool
pub fn is_invisible(&self) -> bool
Check if invisible.
Check if hidden.
Sourcepub fn is_printable(&self) -> bool
pub fn is_printable(&self) -> bool
Check if printable.
Sourcepub fn is_no_zoom(&self) -> bool
pub fn is_no_zoom(&self) -> bool
Check if no zoom.
Sourcepub fn is_no_rotate(&self) -> bool
pub fn is_no_rotate(&self) -> bool
Check if no rotate.
Sourcepub fn is_read_only(&self) -> bool
pub fn is_read_only(&self) -> bool
Check if read only.
Trait Implementations§
Source§impl Clone for AnnotationFlags
impl Clone for AnnotationFlags
impl Copy for AnnotationFlags
Source§impl Debug for AnnotationFlags
impl Debug for AnnotationFlags
Source§impl Default for AnnotationFlags
impl Default for AnnotationFlags
impl Eq for AnnotationFlags
Source§impl PartialEq for AnnotationFlags
impl PartialEq for AnnotationFlags
impl StructuralPartialEq for AnnotationFlags
Auto Trait Implementations§
impl Freeze for AnnotationFlags
impl RefUnwindSafe for AnnotationFlags
impl Send for AnnotationFlags
impl Sync for AnnotationFlags
impl Unpin for AnnotationFlags
impl UnsafeUnpin for AnnotationFlags
impl UnwindSafe for AnnotationFlags
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