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: usize

Implementations

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.