pub struct FreeLifetimesStructBuilder<'data, 'str_data> {
pub data: &'data mut Data,
pub str_data: &'str_data str,
pub id: usize,
}Fields
data: &'data mut Datastr_data: &'str_data strid: usizeImplementations
sourceimpl<'data, 'str_data> FreeLifetimesStructBuilder<'data, 'str_data>
impl<'data, 'str_data> FreeLifetimesStructBuilder<'data, 'str_data>
sourcepub fn build_and_then<FreeLifetimesStructBuildReturnType>(
&mut self,
f: impl std_ops_FnOnce(&mut FreeLifetimesStruct) -> FreeLifetimesStructBuildReturnType
) -> FreeLifetimesStructBuildReturnType
pub fn build_and_then<FreeLifetimesStructBuildReturnType>(
&mut self,
f: impl std_ops_FnOnce(&mut FreeLifetimesStruct) -> FreeLifetimesStructBuildReturnType
) -> FreeLifetimesStructBuildReturnType
Converts regular structure into a special structure with “erased” field lifetimes and passes result to provided function.
Auto Trait Implementations
impl<'data, 'str_data> RefUnwindSafe for FreeLifetimesStructBuilder<'data, 'str_data>
impl<'data, 'str_data> Send for FreeLifetimesStructBuilder<'data, 'str_data>
impl<'data, 'str_data> Sync for FreeLifetimesStructBuilder<'data, 'str_data>
impl<'data, 'str_data> Unpin for FreeLifetimesStructBuilder<'data, 'str_data>
impl<'data, 'str_data> !UnwindSafe for FreeLifetimesStructBuilder<'data, 'str_data>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more