pub struct FreeLifetimesStructBuilder<'data, 'str_data> {
pub data: &'data mut Data,
pub str_data: &'str_data str,
pub id: usize,
}
Fields§
§data: &'data mut Data
§str_data: &'str_data str
§id: usize
Implementations§
Source§impl<'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> Freeze for FreeLifetimesStructBuilder<'data, 'str_data>
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§
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