pub type WriteStore<T, S = UnsyncStorage> = Store<T, WriteSignal<T, S>>;Expand description
A type alias for a boxed writable-only store.
Aliased Type§
pub struct WriteStore<T, S = UnsyncStorage> { /* private fields */ }Trait Implementations§
Source§impl<T, S> From<Store<T, CopyValue<T, S>>> for WriteStore<T, S>where
T: 'static,
S: BoxedSignalStorage<T> + CreateBoxedSignalStorage<CopyValue<T, S>> + Storage<T>,
impl<T, S> From<Store<T, CopyValue<T, S>>> for WriteStore<T, S>where
T: 'static,
S: BoxedSignalStorage<T> + CreateBoxedSignalStorage<CopyValue<T, S>> + Storage<T>,
Source§impl<__F, __FMut, T, S, Lens> From<Store<T, MappedMutSignal<T, Lens, __F, __FMut>>> for WriteStore<T, S>where
Lens: Writable<Storage = S> + 'static,
__F: Fn(&Lens::Target) -> &T + 'static,
__FMut: Fn(&mut Lens::Target) -> &mut T + 'static,
S: BoxedSignalStorage<T> + CreateBoxedSignalStorage<MappedMutSignal<T, Lens, __F, __FMut>>,
T: 'static + ?Sized,
impl<__F, __FMut, T, S, Lens> From<Store<T, MappedMutSignal<T, Lens, __F, __FMut>>> for WriteStore<T, S>where
Lens: Writable<Storage = S> + 'static,
__F: Fn(&Lens::Target) -> &T + 'static,
__FMut: Fn(&mut Lens::Target) -> &mut T + 'static,
S: BoxedSignalStorage<T> + CreateBoxedSignalStorage<MappedMutSignal<T, Lens, __F, __FMut>>,
T: 'static + ?Sized,
Source§fn from(value: Store<T, MappedMutSignal<T, Lens, __F, __FMut>>) -> Self
fn from(value: Store<T, MappedMutSignal<T, Lens, __F, __FMut>>) -> Self
Converts to this type from the input type.