Struct rustc_query_system::query::QueryStackFrame [−][src]
Description of a frame in the query stack.
This is mostly used in case of cycles for error reporting.
Fields
name: &'static strdescription: Stringspan: Option<Span>Implementations
impl QueryStackFrame[src]
pub fn new(
name: &'static str,
description: String,
span: Option<Span>,
_hash: impl FnOnce() -> u64
) -> Self[src]
name: &'static str,
description: String,
span: Option<Span>,
_hash: impl FnOnce() -> u64
) -> Self
pub fn default_span(&self, span: Span) -> Span[src]
Trait Implementations
impl Clone for QueryStackFrame[src]
fn clone(&self) -> QueryStackFrame[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for QueryStackFrame[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryStackFrame
impl !Send for QueryStackFrame
impl !Sync for QueryStackFrame
impl Unpin for QueryStackFrame
impl UnwindSafe for QueryStackFrame
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>,