Struct parser_fuck::common::LocRange
source · pub struct LocRange {
pub from: Loc,
pub to: Loc,
}
Expand description
Range of Location in source code
Fields§
§from: Loc
from
to: Loc
to
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LocRange
impl<'de> Deserialize<'de> for LocRange
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 Ord for LocRange
impl Ord for LocRange
source§impl PartialEq for LocRange
impl PartialEq for LocRange
source§impl PartialOrd for LocRange
impl PartialOrd for LocRange
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LocRange
impl Eq for LocRange
impl StructuralEq for LocRange
impl StructuralPartialEq for LocRange
Auto Trait Implementations§
impl RefUnwindSafe for LocRange
impl Send for LocRange
impl Sync for LocRange
impl Unpin for LocRange
impl UnwindSafe for LocRange
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