Struct rustc_interface::queries::Query
source · pub struct Query<T> {
result: RefCell<Option<Result<Steal<T>>>>,
}
Expand description
Fields§
§result: RefCell<Option<Result<Steal<T>>>>
None
means no value has been computed yet.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Query<T>
impl<T> Send for Query<T>where T: Send,
impl<T> !Sync for Query<T>
impl<T> Unpin for Query<T>where T: Unpin,
impl<T> UnwindSafe for Query<T>where T: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.