pub struct CommentRange {
pub start_line: u64,
pub start_character: u64,
pub end_line: u64,
pub end_character: u64,
}
Expand description
The CommentRange
entity describes the range of an inline comment
Fields§
§start_line: u64
The start line number of the range
start_character: u64
The character position in the start line.
end_line: u64
The end line number of the range
end_character: u64
The character position in the end line
Trait Implementations§
Source§impl Clone for CommentRange
impl Clone for CommentRange
Source§fn clone(&self) -> CommentRange
fn clone(&self) -> CommentRange
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 CommentRange
impl Debug for CommentRange
Source§impl<'de> Deserialize<'de> for CommentRange
impl<'de> Deserialize<'de> for CommentRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommentRange
impl RefUnwindSafe for CommentRange
impl Send for CommentRange
impl Sync for CommentRange
impl Unpin for CommentRange
impl UnwindSafe for CommentRange
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