pub struct Squeeze {}Expand description
Squeezes all consecutive matched scopes into a single occurrence.
Trait Implementations§
source§impl Action for Squeeze
impl Action for Squeeze
source§fn map<'viewee, 'a>(
&self,
view: &'a mut ScopedView<'viewee>
) -> &'a mut ScopedView<'viewee>
fn map<'viewee, 'a>( &self, view: &'a mut ScopedView<'viewee> ) -> &'a mut ScopedView<'viewee>
Applies this action to an
input, working only on [InScope] items and
forwarding [OutOfScope] items unchanged. Read moresource§impl PartialEq for Squeeze
impl PartialEq for Squeeze
impl Copy for Squeeze
impl Eq for Squeeze
impl StructuralEq for Squeeze
impl StructuralPartialEq for Squeeze
Auto Trait Implementations§
impl RefUnwindSafe for Squeeze
impl Send for Squeeze
impl Sync for Squeeze
impl Unpin for Squeeze
impl UnwindSafe for Squeeze
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more