pub enum FixtureRefMut<'a, T> {
Override(&'a mut T),
Borrowed(RefMut<'a, T>),
}Expand description
Borrowed mutable fixture reference tied to the lifetime of the step borrow.
Variants§
Override(&'a mut T)
Mutable reference produced by a prior step override.
Borrowed(RefMut<'a, T>)
Borrow guard obtained from the underlying RefCell.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for FixtureRefMut<'a, T>
impl<'a, T> !RefUnwindSafe for FixtureRefMut<'a, T>
impl<'a, T> !Send for FixtureRefMut<'a, T>
impl<'a, T> !Sync for FixtureRefMut<'a, T>
impl<'a, T> Unpin for FixtureRefMut<'a, T>
impl<'a, T> !UnwindSafe for FixtureRefMut<'a, T>
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