pub struct ReadOnlyMutable<A>(/* private fields */);
Implementations§
Source§impl<A> ReadOnlyMutable<A>
impl<A> ReadOnlyMutable<A>
pub fn lock_ref(&self) -> MutableLockRef<'_, A>
pub fn signal_ref<B, F>(&self, f: F) -> MutableSignalRef<A, F>
Source§impl<A: Copy> ReadOnlyMutable<A>
impl<A: Copy> ReadOnlyMutable<A>
pub fn get(&self) -> A
pub fn signal(&self) -> MutableSignal<A>
Source§impl<A: Clone> ReadOnlyMutable<A>
impl<A: Clone> ReadOnlyMutable<A>
pub fn get_cloned(&self) -> A
pub fn signal_cloned(&self) -> MutableSignalCloned<A>
Trait Implementations§
Source§impl<A> Clone for ReadOnlyMutable<A>
impl<A> Clone for ReadOnlyMutable<A>
Auto Trait Implementations§
impl<A> Freeze for ReadOnlyMutable<A>
impl<A> RefUnwindSafe for ReadOnlyMutable<A>
impl<A> Send for ReadOnlyMutable<A>
impl<A> Sync for ReadOnlyMutable<A>
impl<A> Unpin for ReadOnlyMutable<A>
impl<A> UnwindSafe for ReadOnlyMutable<A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more