pub enum AnnotationTarget {
Ref(u32),
Mark(String),
Page,
}Expand description
What an annotation targets.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AnnotationTarget
impl Clone for AnnotationTarget
Source§fn clone(&self) -> AnnotationTarget
fn clone(&self) -> AnnotationTarget
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 moreSource§impl Debug for AnnotationTarget
impl Debug for AnnotationTarget
Source§impl PartialEq for AnnotationTarget
impl PartialEq for AnnotationTarget
Source§fn eq(&self, other: &AnnotationTarget) -> bool
fn eq(&self, other: &AnnotationTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AnnotationTarget
impl StructuralPartialEq for AnnotationTarget
Auto Trait Implementations§
impl Freeze for AnnotationTarget
impl RefUnwindSafe for AnnotationTarget
impl Send for AnnotationTarget
impl Sync for AnnotationTarget
impl Unpin for AnnotationTarget
impl UnsafeUnpin for AnnotationTarget
impl UnwindSafe for AnnotationTarget
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