struct DummyEnv;Trait Implementations§
Source§impl LocEnv for DummyEnv
impl LocEnv for DummyEnv
fn ptr_to_ref( &mut self, _: &mut InferCtxtAt<'_, '_, '_, '_>, _: ConstrReason, _: Region, _: &Path, _: Ty, ) -> InferResult<Ty>
fn unfold_strg_ref( &mut self, _: &mut InferCtxt<'_, '_, '_>, _: &Path, _: &Ty, ) -> InferResult<Loc>
fn get(&self, _: &Path) -> Ty
Auto Trait Implementations§
impl DynSend for DummyEnv
impl DynSync for DummyEnv
impl Freeze for DummyEnv
impl RefUnwindSafe for DummyEnv
impl Send for DummyEnv
impl Sync for DummyEnv
impl Unpin for DummyEnv
impl UnsafeUnpin for DummyEnv
impl UnwindSafe for DummyEnv
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more