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.0.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