Trait aoko::std_ext::KtStd[][src]

pub trait KtStd<R>: Sized {
    fn let_ref<'a>(&'a self, f: impl FnOnce(&'a Self) -> R) -> R { ... }
fn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R { ... }
fn let_owned(self, f: impl FnOnce(Self) -> R) -> R { ... }
fn also_ref(self, f: impl FnOnce(&Self) -> R) -> Self { ... }
fn also_mut(self, f: impl FnOnce(&mut Self) -> R) -> Self { ... } }

Provided methods

fn let_ref<'a>(&'a self, f: impl FnOnce(&'a Self) -> R) -> R[src]

fn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R[src]

fn let_owned(self, f: impl FnOnce(Self) -> R) -> R[src]

fn also_ref(self, f: impl FnOnce(&Self) -> R) -> Self[src]

fn also_mut(self, f: impl FnOnce(&mut Self) -> R) -> Self[src]

Loading content...

Implementors

impl<T, R> KtStd<R> for T[src]

Loading content...