Struct partiql_source_map::location::Location
source · [−]pub struct Location<Loc: Display> {
pub start: Loc,
pub end: Loc,
}Expand description
A range with an inclusive start and exclusive end.
Basically, a Range.
Fields
start: LocThe start the range (inclusive).
end: LocThe end of the range (exclusive).
Trait Implementations
impl<Loc: Eq + Display> Eq for Location<Loc>
impl<Loc: Display> StructuralEq for Location<Loc>
impl<Loc: Display> StructuralPartialEq for Location<Loc>
Auto Trait Implementations
impl<Loc> RefUnwindSafe for Location<Loc> where
Loc: RefUnwindSafe,
impl<Loc> Send for Location<Loc> where
Loc: Send,
impl<Loc> Sync for Location<Loc> where
Loc: Sync,
impl<Loc> Unpin for Location<Loc> where
Loc: Unpin,
impl<Loc> UnwindSafe for Location<Loc> where
Loc: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more