pub struct FlattenAct<M> {
_marker: PhantomData<fn() -> M>,
}Fields§
§_marker: PhantomData<fn() -> M>Trait Implementations§
Source§impl<M> MonoidAct for FlattenAct<M>where
M: Monoid,
impl<M> MonoidAct for FlattenAct<M>where
M: Monoid,
type Key = <M as Magma>::T
type Act = <M as Magma>::T
type ActMonoid = M
fn act(x: &Self::Key, a: &Self::Act) -> Self::Key
fn act_assign(x: &mut Self::Key, a: &Self::Act)
fn unit() -> Self::Act
fn operate(x: &Self::Act, y: &Self::Act) -> Self::Act
fn operate_assign(x: &mut Self::Act, y: &Self::Act)
Auto Trait Implementations§
impl<M> Freeze for FlattenAct<M>
impl<M> RefUnwindSafe for FlattenAct<M>
impl<M> Send for FlattenAct<M>
impl<M> Sync for FlattenAct<M>
impl<M> Unpin for FlattenAct<M>
impl<M> UnwindSafe for FlattenAct<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