pub struct FixtureBinding<'fixture, F: 'fixture, R> {
pub val: R,
pub params: &'fixture F,
}
Fields§
§val: R
§params: &'fixture F
Implementations§
Source§impl<'fixture, F: 'fixture, R> FixtureBinding<'fixture, F, R>
impl<'fixture, F: 'fixture, R> FixtureBinding<'fixture, F, R>
pub fn decompose(self) -> (R, &'fixture F)
pub fn into_val(self) -> R
pub fn into_params(self) -> &'fixture F
Auto Trait Implementations§
impl<'fixture, F, R> Freeze for FixtureBinding<'fixture, F, R>where
R: Freeze,
impl<'fixture, F, R> RefUnwindSafe for FixtureBinding<'fixture, F, R>where
R: RefUnwindSafe,
F: RefUnwindSafe,
impl<'fixture, F, R> Send for FixtureBinding<'fixture, F, R>
impl<'fixture, F, R> Sync for FixtureBinding<'fixture, F, R>
impl<'fixture, F, R> Unpin for FixtureBinding<'fixture, F, R>where
R: Unpin,
impl<'fixture, F, R> UnwindSafe for FixtureBinding<'fixture, F, R>where
R: UnwindSafe,
F: 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