pub enum AnnotationPriority {
Default,
Primary,
Secondary,
Note,
}Expand description
A degree of importance of the Snippet’s annotation.
Variants§
Default
An annotation without extra user attention priority.
Primary
An annotation with the highest user attention priority.
Secondary
An annotation with moderate user attention priority.
Note
An annotation with the lowest user attention priority.
Trait Implementations§
Source§impl Clone for AnnotationPriority
impl Clone for AnnotationPriority
Source§fn clone(&self) -> AnnotationPriority
fn clone(&self) -> AnnotationPriority
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 AnnotationPriority
Source§impl Debug for AnnotationPriority
impl Debug for AnnotationPriority
Source§impl Default for AnnotationPriority
impl Default for AnnotationPriority
Source§fn default() -> AnnotationPriority
fn default() -> AnnotationPriority
Returns the “default value” for a type. Read more
impl Eq for AnnotationPriority
Source§impl PartialEq for AnnotationPriority
impl PartialEq for AnnotationPriority
impl StructuralPartialEq for AnnotationPriority
Auto Trait Implementations§
impl Freeze for AnnotationPriority
impl RefUnwindSafe for AnnotationPriority
impl Send for AnnotationPriority
impl Sync for AnnotationPriority
impl Unpin for AnnotationPriority
impl UnsafeUnpin for AnnotationPriority
impl UnwindSafe for AnnotationPriority
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