pub struct Fold<F> {
pub xs: F,
pub x: String,
pub init: F,
pub f: F,
}Expand description
Common information for folding filters (such as reduce and foreach)
Fields
xs: FGenerator
x: StringName of assigned variable
init: FInitial values
f: FUpdater
Trait Implementations
sourceimpl<'de, F> Deserialize<'de> for Fold<F> where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for Fold<F> where
F: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<F> RefUnwindSafe for Fold<F> where
F: RefUnwindSafe,
impl<F> Send for Fold<F> where
F: Send,
impl<F> Sync for Fold<F> where
F: Sync,
impl<F> Unpin for Fold<F> where
F: Unpin,
impl<F> UnwindSafe for Fold<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more