pub struct FlattenAction<M> { /* private fields */ }
Trait Implementations§
Source§impl<M> MonoidAction for FlattenAction<M>where
M: Monoid,
impl<M> MonoidAction for FlattenAction<M>where
M: Monoid,
type Key = <M as Magma>::T
type Agg = <M as Magma>::T
type Act = <M as Magma>::T
type AggMonoid = M
type ActMonoid = M
fn single_agg(key: &Self::Key) -> Self::Agg
fn act_key(x: &Self::Key, a: &Self::Act) -> Self::Key
fn act_agg(x: &Self::Agg, a: &Self::Act) -> Option<Self::Agg>
fn toggle(_x: &mut Self::Agg)
fn agg_unit() -> Self::Agg
fn act_unit() -> Self::Act
fn agg_operate(x: &Self::Agg, y: &Self::Agg) -> Self::Agg
fn act_operate(x: &Self::Act, y: &Self::Act) -> Self::Act
fn agg_operate_assign(x: &mut Self::Agg, y: &Self::Agg)
fn act_operate_assign(x: &mut Self::Act, y: &Self::Act)
Auto Trait Implementations§
impl<M> Freeze for FlattenAction<M>
impl<M> RefUnwindSafe for FlattenAction<M>
impl<M> Send for FlattenAction<M>
impl<M> Sync for FlattenAction<M>
impl<M> Unpin for FlattenAction<M>
impl<M> UnwindSafe for FlattenAction<M>
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