Struct seitan::PropertyLastValue [−][src]
#[must_use = "Dropping a Property unsubscribes it and all the chain until the origin sender"]pub struct PropertyLastValue<'a, T: Clone + 'a> { /* fields omitted */ }
Implementations
impl<'a, T: Clone> PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone> PropertyLastValue<'a, T>
[src]pub fn from_parent<S: Into<StreamRc<'a, T>>>(
parent: S,
initial: T
) -> PropertyLastValue<'a, T>
[src]
parent: S,
initial: T
) -> PropertyLastValue<'a, T>
pub fn new(initial: T) -> PropertyLastValue<'a, T>
[src]
pub fn swap_parent<S: Into<StreamRc<'a, T>>>(&mut self, parent: S)
[src]
pub fn from_sender_stream<S: Into<StreamRc<'a, T>>>(
sender: SenderRc<'a, T>,
stream: S,
initial: T
) -> PropertyLastValue<'a, T>
[src]
sender: SenderRc<'a, T>,
stream: S,
initial: T
) -> PropertyLastValue<'a, T>
pub fn get(&self) -> &T
[src]
pub fn last_value(&mut self) -> Option<&T>
[src]
pub fn into_inner(self) -> Result<T, PropertyLastValue<'a, T>>
[src]
pub fn set(&mut self, t: T)
[src]
pub fn map<'b, T2: Clone, F: FnMut(T) -> T2 + 'a>(
self,
f: F
) -> PropertyLastValue<'b, T2> where
T: 'b,
'a: 'b,
[src]
self,
f: F
) -> PropertyLastValue<'b, T2> where
T: 'b,
'a: 'b,
pub fn inspect<'b, F: Fn(&T) + 'b>(self, f: F) -> PropertyLastValue<'b, T> where
T: 'b,
'a: 'b,
[src]
T: 'b,
'a: 'b,
pub fn filter<'b, F: FnMut(&T) -> bool + 'b>(
self,
f: F
) -> PropertyLastValue<'b, T> where
T: 'b,
'a: 'b,
[src]
self,
f: F
) -> PropertyLastValue<'b, T> where
T: 'b,
'a: 'b,
pub fn filter_by<'b, 'c>(
self,
b: PropertyLastValue<'b, bool>
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
[src]
self,
b: PropertyLastValue<'b, bool>
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
pub fn merge<'b, 'c>(
self,
b: PropertyLastValue<'b, T>
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
[src]
self,
b: PropertyLastValue<'b, T>
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
pub fn merge_stream<'b, 'c, S: StreamExt<'a, T>>(
self,
b: S
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
[src]
self,
b: S
) -> PropertyLastValue<'c, T> where
T: 'b,
'a: 'b,
'b: 'c,
pub fn zip<T2: Clone + 'a>(
self,
other: PropertyLastValue<'a, T2>
) -> PropertyLastValue<'a, (T, T2)>
[src]
self,
other: PropertyLastValue<'a, T2>
) -> PropertyLastValue<'a, (T, T2)>
pub fn stream(self) -> StreamRc<'a, T>
[src]
pub fn is<'b>(&self, other: &PropertyLastValue<'b, T>) -> bool
[src]
pub fn try_iter<'b>(self) -> TryIter<'b, T>ⓘ where
'a: 'b,
[src]
'a: 'b,
pub fn to_parameter<'b>(self) -> Parameter<'b, T> where
'a: 'b,
[src]
'a: 'b,
pub fn into_property(self) -> Property<'a, T>
[src]
impl<'a> PropertyLastValue<'a, bool>
[src]
impl<'a> PropertyLastValue<'a, bool>
[src]impl<'a, T: Clone> PropertyLastValue<'a, Vec<T>>
[src]
impl<'a, T: Clone> PropertyLastValue<'a, Vec<T>>
[src]impl<'a, T: Clone + PartialEq + 'a> PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone + PartialEq + 'a> PropertyLastValue<'a, T>
[src]impl<'a, T1: Clone + 'a, T2: Clone + 'a> PropertyLastValue<'a, (T1, T2)>
[src]
impl<'a, T1: Clone + 'a, T2: Clone + 'a> PropertyLastValue<'a, (T1, T2)>
[src]pub fn unzip<'b>(self) -> (PropertyLastValue<'b, T1>, PropertyLastValue<'b, T2>) where
'a: 'b,
[src]
'a: 'b,
impl<'a, T1: Clone + 'a, T2: Clone + 'a, T3: Clone + 'a> PropertyLastValue<'a, ((T1, T2), T3)>
[src]
impl<'a, T1: Clone + 'a, T2: Clone + 'a, T3: Clone + 'a> PropertyLastValue<'a, ((T1, T2), T3)>
[src]pub fn flatten<'b>(self) -> PropertyLastValue<'b, (T1, T2, T3)> where
'a: 'b,
[src]
'a: 'b,
Trait Implementations
impl<'a, T: Add + Clone> Add<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Add>::Output: Clone,
[src]
impl<'a, T: Add + Clone> Add<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Add>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Add>::Output>
The resulting type after applying the +
operator.
fn add(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Add>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Add>::Output>
impl<'a, T: Add + Clone> Add<T> for PropertyLastValue<'a, T> where
<T as Add>::Output: Clone,
[src]
impl<'a, T: Add + Clone> Add<T> for PropertyLastValue<'a, T> where
<T as Add>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Add>::Output>
The resulting type after applying the +
operator.
fn add(self, other: T) -> PropertyLastValue<'a, <T as Add>::Output>
[src]
impl<'a, T: BitAnd + Clone> BitAnd<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitAnd>::Output: Clone,
[src]
impl<'a, T: BitAnd + Clone> BitAnd<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitAnd>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitAnd>::Output>
The resulting type after applying the &
operator.
fn bitand(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitAnd>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitAnd>::Output>
impl<'a, T: BitAnd + Clone> BitAnd<T> for PropertyLastValue<'a, T> where
<T as BitAnd>::Output: Clone,
[src]
impl<'a, T: BitAnd + Clone> BitAnd<T> for PropertyLastValue<'a, T> where
<T as BitAnd>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitAnd>::Output>
The resulting type after applying the &
operator.
fn bitand(self, other: T) -> PropertyLastValue<'a, <T as BitAnd>::Output>
[src]
impl<'a, T: BitOr + Clone> BitOr<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitOr>::Output: Clone,
[src]
impl<'a, T: BitOr + Clone> BitOr<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitOr>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitOr>::Output>
The resulting type after applying the |
operator.
fn bitor(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitOr>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitOr>::Output>
impl<'a, T: BitOr + Clone> BitOr<T> for PropertyLastValue<'a, T> where
<T as BitOr>::Output: Clone,
[src]
impl<'a, T: BitOr + Clone> BitOr<T> for PropertyLastValue<'a, T> where
<T as BitOr>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitOr>::Output>
The resulting type after applying the |
operator.
fn bitor(self, other: T) -> PropertyLastValue<'a, <T as BitOr>::Output>
[src]
impl<'a, T: BitXor + Clone> BitXor<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitXor>::Output: Clone,
[src]
impl<'a, T: BitXor + Clone> BitXor<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as BitXor>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitXor>::Output>
The resulting type after applying the ^
operator.
fn bitxor(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitXor>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as BitXor>::Output>
impl<'a, T: BitXor + Clone> BitXor<T> for PropertyLastValue<'a, T> where
<T as BitXor>::Output: Clone,
[src]
impl<'a, T: BitXor + Clone> BitXor<T> for PropertyLastValue<'a, T> where
<T as BitXor>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as BitXor>::Output>
The resulting type after applying the ^
operator.
fn bitxor(self, other: T) -> PropertyLastValue<'a, <T as BitXor>::Output>
[src]
impl<'a, T: Clone + 'a> Clone for PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone + 'a> Clone for PropertyLastValue<'a, T>
[src]fn clone(&self) -> PropertyLastValue<'a, T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T: 'a + Clone + Debug> Debug for PropertyLastValue<'a, T>
[src]
impl<'a, T: 'a + Clone + Debug> Debug for PropertyLastValue<'a, T>
[src]impl<'a, T: Clone + Default> Default for PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone + Default> Default for PropertyLastValue<'a, T>
[src]fn default() -> PropertyLastValue<'a, T>
[src]
impl<'a, 'de, T: Clone + Deserialize<'de> + 'a> Deserialize<'de> for PropertyLastValue<'a, T>
[src]
impl<'a, 'de, T: Clone + Deserialize<'de> + 'a> Deserialize<'de> for PropertyLastValue<'a, T>
[src]fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<PropertyLastValue<'a, T>, D::Error>
[src]
deserializer: D
) -> Result<PropertyLastValue<'a, T>, D::Error>
impl<'a, T: Div + Clone> Div<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Div>::Output: Clone,
[src]
impl<'a, T: Div + Clone> Div<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Div>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Div>::Output>
The resulting type after applying the /
operator.
fn div(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Div>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Div>::Output>
impl<'a, T: Div + Clone> Div<T> for PropertyLastValue<'a, T> where
<T as Div>::Output: Clone,
[src]
impl<'a, T: Div + Clone> Div<T> for PropertyLastValue<'a, T> where
<T as Div>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Div>::Output>
The resulting type after applying the /
operator.
fn div(self, other: T) -> PropertyLastValue<'a, <T as Div>::Output>
[src]
impl<'a, T: Clone> From<T> for PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone> From<T> for PropertyLastValue<'a, T>
[src]fn from(t: T) -> PropertyLastValue<'a, T>
[src]
impl<'a, T: Mul + Clone> Mul<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Mul>::Output: Clone,
[src]
impl<'a, T: Mul + Clone> Mul<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Mul>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Mul>::Output>
The resulting type after applying the *
operator.
fn mul(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Mul>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Mul>::Output>
impl<'a, T: Mul + Clone> Mul<T> for PropertyLastValue<'a, T> where
<T as Mul>::Output: Clone,
[src]
impl<'a, T: Mul + Clone> Mul<T> for PropertyLastValue<'a, T> where
<T as Mul>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Mul>::Output>
The resulting type after applying the *
operator.
fn mul(self, other: T) -> PropertyLastValue<'a, <T as Mul>::Output>
[src]
impl<'a, T: Neg + Clone> Neg for PropertyLastValue<'a, T> where
<T as Neg>::Output: Clone,
[src]
impl<'a, T: Neg + Clone> Neg for PropertyLastValue<'a, T> where
<T as Neg>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Neg>::Output>
The resulting type after applying the -
operator.
fn neg(self) -> PropertyLastValue<'a, <T as Neg>::Output>
[src]
impl<'a> Not for PropertyLastValue<'a, bool>
[src]
impl<'a> Not for PropertyLastValue<'a, bool>
[src]type Output = PropertyLastValue<'a, bool>
The resulting type after applying the !
operator.
fn not(self) -> PropertyLastValue<'a, bool>
[src]
impl<'a, T: PartialEq + Clone> PartialEq<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T>
[src]
impl<'a, T: PartialEq + Clone> PartialEq<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T>
[src]impl<'a, T: PartialEq + Clone> PartialEq<T> for PropertyLastValue<'a, T>
[src]
impl<'a, T: PartialEq + Clone> PartialEq<T> for PropertyLastValue<'a, T>
[src]impl<'a, T: Rem + Clone> Rem<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Rem>::Output: Clone,
[src]
impl<'a, T: Rem + Clone> Rem<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Rem>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Rem>::Output>
The resulting type after applying the %
operator.
fn rem(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Rem>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Rem>::Output>
impl<'a, T: Rem + Clone> Rem<T> for PropertyLastValue<'a, T> where
<T as Rem>::Output: Clone,
[src]
impl<'a, T: Rem + Clone> Rem<T> for PropertyLastValue<'a, T> where
<T as Rem>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Rem>::Output>
The resulting type after applying the %
operator.
fn rem(self, other: T) -> PropertyLastValue<'a, <T as Rem>::Output>
[src]
impl<'a, T: Clone + Serialize + 'a> Serialize for PropertyLastValue<'a, T>
[src]
impl<'a, T: Clone + Serialize + 'a> Serialize for PropertyLastValue<'a, T>
[src]impl<'a, T: Shl + Clone> Shl<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Shl>::Output: Clone,
[src]
impl<'a, T: Shl + Clone> Shl<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Shl>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Shl>::Output>
The resulting type after applying the <<
operator.
fn shl(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Shl>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Shl>::Output>
impl<'a, T: Shl + Clone> Shl<T> for PropertyLastValue<'a, T> where
<T as Shl>::Output: Clone,
[src]
impl<'a, T: Shl + Clone> Shl<T> for PropertyLastValue<'a, T> where
<T as Shl>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Shl>::Output>
The resulting type after applying the <<
operator.
fn shl(self, other: T) -> PropertyLastValue<'a, <T as Shl>::Output>
[src]
impl<'a, T: Shr + Clone> Shr<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Shr>::Output: Clone,
[src]
impl<'a, T: Shr + Clone> Shr<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Shr>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Shr>::Output>
The resulting type after applying the >>
operator.
fn shr(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Shr>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Shr>::Output>
impl<'a, T: Shr + Clone> Shr<T> for PropertyLastValue<'a, T> where
<T as Shr>::Output: Clone,
[src]
impl<'a, T: Shr + Clone> Shr<T> for PropertyLastValue<'a, T> where
<T as Shr>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Shr>::Output>
The resulting type after applying the >>
operator.
fn shr(self, other: T) -> PropertyLastValue<'a, <T as Shr>::Output>
[src]
impl<'a, T: Sub + Clone> Sub<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Sub>::Output: Clone,
[src]
impl<'a, T: Sub + Clone> Sub<PropertyLastValue<'a, T>> for PropertyLastValue<'a, T> where
<T as Sub>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Sub>::Output>
The resulting type after applying the -
operator.
fn sub(
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Sub>::Output>
[src]
self,
other: PropertyLastValue<'a, T>
) -> PropertyLastValue<'a, <T as Sub>::Output>
impl<'a, T: Sub + Clone> Sub<T> for PropertyLastValue<'a, T> where
<T as Sub>::Output: Clone,
[src]
impl<'a, T: Sub + Clone> Sub<T> for PropertyLastValue<'a, T> where
<T as Sub>::Output: Clone,
[src]type Output = PropertyLastValue<'a, <T as Sub>::Output>
The resulting type after applying the -
operator.
fn sub(self, other: T) -> PropertyLastValue<'a, <T as Sub>::Output>
[src]
impl<'a, T: Eq + Clone> Eq for PropertyLastValue<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for PropertyLastValue<'a, T>
impl<'a, T> !Send for PropertyLastValue<'a, T>
impl<'a, T> !Sync for PropertyLastValue<'a, T>
impl<'a, T> Unpin for PropertyLastValue<'a, T>
impl<'a, T> !UnwindSafe for PropertyLastValue<'a, T>
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,