Skip to main content

SingletonMut

Type Alias SingletonMut 

Source
pub type SingletonMut<'a, 'slf, T, L> = SingletonRef<'a, 'slf, T, L, true>;
Expand description

Alias for SingletonRef with IS_MUT = true.

Aliased Type§

pub struct SingletonMut<'a, 'slf, T, L> { /* private fields */ }

Trait Implementations§

Source§

impl<'a, 'slf, T: 'a, L> FreeVariableWithContextWithProps<L, ()> for SingletonMut<'a, 'slf, T, L>
where L: Location<'a>,

Source§

type O = &'a mut T

Source§

fn to_tokens(self, ctx: &L) -> (QuoteTokens, ())

§

fn uninitialized(&self, _ctx: &Ctx) -> fn() -> Self::O