pub struct AnnotationRange {
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
}
Expand description
Location and range of an annotation ([start_line, start_col, end_line, end_col]). Location and range of an annotation
Fields§
§start_line: usize
§start_col: usize
§end_line: usize
§end_col: usize
Trait Implementations§
Source§impl Clone for AnnotationRange
impl Clone for AnnotationRange
Source§fn clone(&self) -> AnnotationRange
fn clone(&self) -> AnnotationRange
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 Debug for AnnotationRange
impl Debug for AnnotationRange
Source§impl Default for AnnotationRange
impl Default for AnnotationRange
Source§fn default() -> AnnotationRange
fn default() -> AnnotationRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnnotationRange
impl<'de> Deserialize<'de> for AnnotationRange
Source§fn deserialize<D>(deserializer: D) -> Result<AnnotationRange, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<AnnotationRange, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnnotationRange
impl PartialEq for AnnotationRange
Source§impl Serialize for AnnotationRange
impl Serialize for AnnotationRange
impl Copy for AnnotationRange
impl StructuralPartialEq for AnnotationRange
Auto Trait Implementations§
impl Freeze for AnnotationRange
impl RefUnwindSafe for AnnotationRange
impl Send for AnnotationRange
impl Sync for AnnotationRange
impl Unpin for AnnotationRange
impl UnwindSafe for AnnotationRange
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