Struct dyn_context::example::FreeLifetimesStructBuilder [−][src]
Fields
data: &'data mut Datastr_data: &'str_data strid: usizeImplementations
impl<'data, 'str_data> FreeLifetimesStructBuilder<'data, 'str_data>[src]
pub fn build_and_then<FreeLifetimesStructBuildReturnType>(
&mut self,
f: impl std_ops_FnOnce(&mut FreeLifetimesStruct) -> FreeLifetimesStructBuildReturnType
) -> FreeLifetimesStructBuildReturnType[src]
&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> 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>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,