pub struct SourceRange {
pub begin: SourceLocation,
pub end: SourceLocation,
}
Fields§
§begin: SourceLocation
§end: SourceLocation
Trait Implementations§
Source§impl Clone for SourceRange
impl Clone for SourceRange
Source§fn clone(&self) -> SourceRange
fn clone(&self) -> SourceRange
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 SourceRange
impl Debug for SourceRange
Source§impl Default for SourceRange
impl Default for SourceRange
Source§fn default() -> SourceRange
fn default() -> SourceRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceRange
impl<'de> Deserialize<'de> for SourceRange
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
Source§impl Hash for SourceRange
impl Hash for SourceRange
Source§impl PartialEq for SourceRange
impl PartialEq for SourceRange
Source§impl Serialize for SourceRange
impl Serialize for SourceRange
impl Eq for SourceRange
impl StructuralPartialEq for SourceRange
Auto Trait Implementations§
impl Freeze for SourceRange
impl RefUnwindSafe for SourceRange
impl Send for SourceRange
impl Sync for SourceRange
impl Unpin for SourceRange
impl UnwindSafe for SourceRange
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