Enum rustc_errors::snippet::AnnotationType [−][src]
pub enum AnnotationType {
Singleline,
Multiline(MultilineAnnotation),
MultilineStart(usize),
MultilineEnd(usize),
MultilineLine(usize),
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Singleline🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Annotation under a single line of code
Multiline(MultilineAnnotation)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Annotation enclosing the first and last character of a multiline span
MultilineStart(usize)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Annotation marking the first character of a fully shown multiline span
MultilineEnd(usize)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Annotation marking the last character of a fully shown multiline span
MultilineLine(usize)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Line at the left enclosing the lines of a fully shown multiline span
Trait Implementations
impl Clone for AnnotationType[src]
impl Clone for AnnotationTypefn clone(&self) -> AnnotationType[src]
fn clone(&self) -> AnnotationTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for AnnotationType[src]
impl Debug for AnnotationTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialOrd for AnnotationType[src]
impl PartialOrd for AnnotationTypefn partial_cmp(&self, other: &AnnotationType) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &AnnotationType) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &AnnotationType) -> bool[src]
fn lt(&self, other: &AnnotationType) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &AnnotationType) -> bool[src]
fn le(&self, other: &AnnotationType) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &AnnotationType) -> bool[src]
fn gt(&self, other: &AnnotationType) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &AnnotationType) -> bool[src]
fn ge(&self, other: &AnnotationType) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for AnnotationType[src]
impl Ord for AnnotationTypefn cmp(&self, other: &AnnotationType) -> Ordering[src]
fn cmp(&self, other: &AnnotationType) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialEq for AnnotationType[src]
impl PartialEq for AnnotationTypefn eq(&self, other: &AnnotationType) -> bool[src]
fn eq(&self, other: &AnnotationType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AnnotationType) -> bool[src]
fn ne(&self, other: &AnnotationType) -> boolThis method tests for !=.
impl Eq for AnnotationType[src]
impl Eq for AnnotationTypefn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)Auto Trait Implementations
impl Send for AnnotationType
impl Send for AnnotationTypeimpl Sync for AnnotationType
impl Sync for AnnotationType