Struct g_code::parse::ast::Span [−][src]
A range of bytes in the raw text of the program. Useful for providing diagnostic information in higher-level tooling.
The end of the range is exclusive.
Trait Implementations
impl Add<Span> for Span[src]
type Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: Self) -> Self[src]
impl AddAssign<Span> for Span[src]
fn add_assign(&mut self, rhs: Self)[src]
impl Clone for Span[src]
impl Copy for Span[src]
impl Debug for Span[src]
impl Eq for Span[src]
impl Hash for Span[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Into<Range<usize>> for Span[src]
impl PartialEq<Span> for Span[src]
impl StructuralEq for Span[src]
impl StructuralPartialEq for Span[src]
Auto Trait Implementations
impl RefUnwindSafe for Span[src]
impl Send for Span[src]
impl Sync for Span[src]
impl Unpin for Span[src]
impl UnwindSafe for Span[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,