#[non_exhaustive]pub enum TextAnnotationIcon {
Comment,
Note,
Key,
Help,
NewParagraph,
Paragraph,
Insert,
}Expand description
Standard /Text annotation icon names. Anything outside this set
falls back to /Note.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TextAnnotationIcon
impl Clone for TextAnnotationIcon
Source§fn clone(&self) -> TextAnnotationIcon
fn clone(&self) -> TextAnnotationIcon
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 TextAnnotationIcon
Source§impl Debug for TextAnnotationIcon
impl Debug for TextAnnotationIcon
Source§impl Default for TextAnnotationIcon
impl Default for TextAnnotationIcon
impl Eq for TextAnnotationIcon
Source§impl PartialEq for TextAnnotationIcon
impl PartialEq for TextAnnotationIcon
impl StructuralPartialEq for TextAnnotationIcon
Auto Trait Implementations§
impl Freeze for TextAnnotationIcon
impl RefUnwindSafe for TextAnnotationIcon
impl Send for TextAnnotationIcon
impl Sync for TextAnnotationIcon
impl Unpin for TextAnnotationIcon
impl UnsafeUnpin for TextAnnotationIcon
impl UnwindSafe for TextAnnotationIcon
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