pub struct ReactiveHandle<T, N>{ /* private fields */ }Implementations§
Source§impl<T, N> ReactiveHandle<T, N>
impl<T, N> ReactiveHandle<T, N>
pub fn try_read(&self) -> Option<ReactiveRef<'_, T, N>>
pub fn read(&self) -> ReactiveRef<'_, T, N>
pub fn try_write(&self) -> Option<ReactiveMutRef<'_, T, N>>
pub fn write(&self) -> ReactiveMutRef<'_, T, N>
pub fn try_write_no_update(&self) -> Option<ReactiveMutNoUpdate<'_, T, N>>
pub fn write_no_update(&self) -> ReactiveMutNoUpdate<'_, T, N>
pub fn set(&mut self, value: T)
pub fn set_no_update(&mut self, value: T)
Trait Implementations§
Source§impl<T, N> Add<T> for ReactiveHandle<T, N>
impl<T, N> Add<T> for ReactiveHandle<T, N>
Source§impl<T, N> AddAssign<T> for ReactiveHandle<T, N>
impl<T, N> AddAssign<T> for ReactiveHandle<T, N>
Source§fn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+= operation. Read moreSource§impl<T, N> Clone for ReactiveHandle<T, N>
impl<T, N> Clone for ReactiveHandle<T, N>
impl<T, N> Copy for ReactiveHandle<T, N>
Source§impl<T, N> Debug for ReactiveHandle<T, N>
impl<T, N> Debug for ReactiveHandle<T, N>
Source§impl<T, N> Display for ReactiveHandle<T, N>
impl<T, N> Display for ReactiveHandle<T, N>
Source§impl<T, N> Div<T> for ReactiveHandle<T, N>
impl<T, N> Div<T> for ReactiveHandle<T, N>
Source§impl<T, N> DivAssign<T> for ReactiveHandle<T, N>
impl<T, N> DivAssign<T> for ReactiveHandle<T, N>
Source§fn div_assign(&mut self, rhs: T)
fn div_assign(&mut self, rhs: T)
Performs the
/= operation. Read moreimpl<T, N> Eq for ReactiveHandle<T, N>
Source§impl<T, N> Hash for ReactiveHandle<T, N>
impl<T, N> Hash for ReactiveHandle<T, N>
Source§impl<T, N> Mul<T> for ReactiveHandle<T, N>
impl<T, N> Mul<T> for ReactiveHandle<T, N>
Source§impl<T, N> MulAssign<T> for ReactiveHandle<T, N>
impl<T, N> MulAssign<T> for ReactiveHandle<T, N>
Source§fn mul_assign(&mut self, rhs: T)
fn mul_assign(&mut self, rhs: T)
Performs the
*= operation. Read moreSource§impl<T, N> PartialEq for ReactiveHandle<T, N>
impl<T, N> PartialEq for ReactiveHandle<T, N>
Source§impl<T, N> PartialEq<T> for ReactiveHandle<T, N>
impl<T, N> PartialEq<T> for ReactiveHandle<T, N>
Source§impl<T, N> PartialOrd for ReactiveHandle<T, N>
impl<T, N> PartialOrd for ReactiveHandle<T, N>
Source§impl<T, N> PartialOrd<T> for ReactiveHandle<T, N>
impl<T, N> PartialOrd<T> for ReactiveHandle<T, N>
Source§impl<T, N> Sub<T> for ReactiveHandle<T, N>
impl<T, N> Sub<T> for ReactiveHandle<T, N>
Auto Trait Implementations§
impl<T, N> !RefUnwindSafe for ReactiveHandle<T, N>
impl<T, N> !UnwindSafe for ReactiveHandle<T, N>
impl<T, N> Freeze for ReactiveHandle<T, N>
impl<T, N> Send for ReactiveHandle<T, N>
impl<T, N> Sync for ReactiveHandle<T, N>
impl<T, N> Unpin for ReactiveHandle<T, N>
impl<T, N> UnsafeUnpin for ReactiveHandle<T, N>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more