Struct dyn_context::example::FreeLifetimesStructBuilder [−][src]
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
pub 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
) -> FreeLifetimesStructBuildReturnTypeConverts regular structure into a special structure with “erased” field lifetimes and passes result to provided function.
Auto Trait Implementations
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>