pub struct UsefulnessCtxt<'a, Cx: TypeCx> {
pub tycx: &'a Cx,
}
Expand description
Context that provides information for usefulness checking.
Fields§
§tycx: &'a Cx
The context for type information.
Trait Implementations§
source§impl<'a, Cx: TypeCx> Clone for UsefulnessCtxt<'a, Cx>
impl<'a, Cx: TypeCx> Clone for UsefulnessCtxt<'a, Cx>
impl<'a, Cx: TypeCx> Copy for UsefulnessCtxt<'a, Cx>
Auto Trait Implementations§
impl<'a, Cx> RefUnwindSafe for UsefulnessCtxt<'a, Cx>where
Cx: RefUnwindSafe,
impl<'a, Cx> Send for UsefulnessCtxt<'a, Cx>where
Cx: Sync,
impl<'a, Cx> Sync for UsefulnessCtxt<'a, Cx>where
Cx: Sync,
impl<'a, Cx> Unpin for UsefulnessCtxt<'a, Cx>
impl<'a, Cx> UnwindSafe for UsefulnessCtxt<'a, Cx>where
Cx: RefUnwindSafe,
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