pub enum AnnotationIcon<'a> {
Comment,
Key,
Note,
Help,
NewParagraph,
Paragraph,
Insert,
Graph,
PushPin,
Paperclip,
Tag,
Custom(Name<'a>),
}
Expand description
Possible icons for an annotation.
Variants§
Comment
Speech bubble. For use with text annotations.
Key
For use with text annotations.
Note
Sticky note. For use with text annotations.
Help
Question mark or manual. For use with text annotations.
NewParagraph
For use with text annotations.
Paragraph
For use with text annotations.
Insert
A plus or similar. For use with text annotations.
Graph
Chart. For use with file attachment annotations.
PushPin
For use with file attachment annotations.
Paperclip
For use with file attachment annotations.
Tag
For use with file attachment annotations.
Custom(Name<'a>)
A custom icon name.
Trait Implementations§
source§impl<'a> Clone for AnnotationIcon<'a>
impl<'a> Clone for AnnotationIcon<'a>
source§fn clone(&self) -> AnnotationIcon<'a>
fn clone(&self) -> AnnotationIcon<'a>
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for AnnotationIcon<'a>
impl<'a> Debug for AnnotationIcon<'a>
source§impl<'a> Hash for AnnotationIcon<'a>
impl<'a> Hash for AnnotationIcon<'a>
source§impl<'a> PartialEq for AnnotationIcon<'a>
impl<'a> PartialEq for AnnotationIcon<'a>
impl<'a> Copy for AnnotationIcon<'a>
impl<'a> Eq for AnnotationIcon<'a>
impl<'a> StructuralPartialEq for AnnotationIcon<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnnotationIcon<'a>
impl<'a> RefUnwindSafe for AnnotationIcon<'a>
impl<'a> Send for AnnotationIcon<'a>
impl<'a> Sync for AnnotationIcon<'a>
impl<'a> Unpin for AnnotationIcon<'a>
impl<'a> UnwindSafe for AnnotationIcon<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)