[−][src]Struct gluon_base::pos::Spanned
Fields
span: Span<Pos>
value: T
Implementations
impl<T, Pos> Spanned<T, Pos>
[src]
Trait Implementations
impl<E> AsDiagnostic for Spanned<E, BytePos> where
E: AsDiagnostic,
[src]
E: AsDiagnostic,
fn as_diagnostic(&self, map: &CodeMap) -> Diagnostic<FileId>
[src]
impl<T, Pos> AsId<T> for Spanned<T, Pos>
[src]
impl<'ast, Id> AsMut<Spanned<Type<Id, AstType<'ast, Id>>, ByteIndex>> for AstType<'ast, Id>
[src]
fn as_mut(&mut self) -> &mut SpannedAstType<'ast, Id>
[src]
impl<T, U, Pos> AsRef<U> for Spanned<T, Pos> where
T: AsRef<U>,
U: ?Sized,
[src]
T: AsRef<U>,
U: ?Sized,
impl<'ast, Id, T, P> AstClone<'ast, Id> for Spanned<T, P> where
T: AstClone<'ast, Id>,
P: Clone,
[src]
T: AstClone<'ast, Id>,
P: Clone,
impl<T: Clone, Pos: Clone> Clone for Spanned<T, Pos>
[src]
impl<T: Copy, Pos: Copy> Copy for Spanned<T, Pos>
[src]
impl<T: Debug, Pos: Debug> Debug for Spanned<T, Pos>
[src]
impl<T: Default, Pos: Default> Default for Spanned<T, Pos>
[src]
impl<T, Pos> Deref for Spanned<T, Pos>
[src]
impl<T, Pos> DerefMut for Spanned<T, Pos>
[src]
impl<T: Display, Pos: Display + Copy> Display for Spanned<T, Pos>
[src]
impl<T: Eq, Pos: Eq> Eq for Spanned<T, Pos>
[src]
impl<P> From<Spanned<Symbol, P>> for Symbol
[src]
impl<T, Pos> From<T> for Spanned<T, Pos> where
Pos: Default,
[src]
Pos: Default,
impl<T, Pos> Hash for Spanned<T, Pos> where
T: Hash,
Pos: Hash + Copy,
[src]
T: Hash,
Pos: Hash + Copy,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq, Pos: PartialEq> PartialEq<Spanned<T, Pos>> for Spanned<T, Pos>
[src]
fn eq(&self, other: &Spanned<T, Pos>) -> bool
[src]
fn ne(&self, other: &Spanned<T, Pos>) -> bool
[src]
impl<T, Pos> PartialEq<T> for Spanned<T, Pos> where
T: PartialEq,
[src]
T: PartialEq,
impl<T, Pos> StructuralEq for Spanned<T, Pos>
[src]
impl<T, Pos> StructuralPartialEq for Spanned<T, Pos>
[src]
impl<T: Typed> Typed for Spanned<T, BytePos>
[src]
Auto Trait Implementations
impl<T, Pos> RefUnwindSafe for Spanned<T, Pos> where
Pos: RefUnwindSafe,
T: RefUnwindSafe,
Pos: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Pos> Send for Spanned<T, Pos> where
Pos: Send,
T: Send,
Pos: Send,
T: Send,
impl<T, Pos> Sync for Spanned<T, Pos> where
Pos: Sync,
T: Sync,
Pos: Sync,
T: Sync,
impl<T, Pos> Unpin for Spanned<T, Pos> where
Pos: Unpin,
T: Unpin,
Pos: Unpin,
T: Unpin,
impl<T, Pos> UnwindSafe for Spanned<T, Pos> where
Pos: UnwindSafe,
T: UnwindSafe,
Pos: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for 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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,