[−][src]Struct markedit::Ref
A glorified &mut Matcher
.
This is the return value for Matcher::by_ref()
, you won't normally use
it directly.
Trait Implementations
impl<'a, M: Debug> Debug for Ref<'a, M>
[src]
impl<'a, M> Matcher for Ref<'a, M> where
M: Matcher,
[src]
M: Matcher,
fn matches_event(&mut self, event: &Event) -> bool
[src]
fn first_match<'src, I, E>(self, events: I) -> Option<usize> where
Self: Sized,
I: IntoIterator<Item = E> + 'src,
E: Borrow<Event<'src>> + 'src,
[src]
Self: Sized,
I: IntoIterator<Item = E> + 'src,
E: Borrow<Event<'src>> + 'src,
fn is_in<'src, I, E>(self, events: I) -> bool where
I: IntoIterator<Item = E> + 'src,
E: Borrow<Event<'src>>,
Self: Sized,
[src]
I: IntoIterator<Item = E> + 'src,
E: Borrow<Event<'src>>,
Self: Sized,
fn then_start_of_next_line(self) -> StartOfNextLine<Self> where
Self: Sized,
[src]
Self: Sized,
fn fuse(self) -> OneShot<Self> where
Self: Sized,
[src]
Self: Sized,
fn falling_edge(self) -> FallingEdge<Self> where
Self: Sized,
[src]
Self: Sized,
fn and<M>(self, other: M) -> And<Self, M> where
Self: Sized,
M: Matcher,
[src]
Self: Sized,
M: Matcher,
fn by_ref(&mut self) -> Ref<Self> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<'a, M> RefUnwindSafe for Ref<'a, M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<'a, M> Send for Ref<'a, M> where
M: Send,
M: Send,
impl<'a, M> Sync for Ref<'a, M> where
M: Sync,
M: Sync,
impl<'a, M> Unpin for Ref<'a, M>
impl<'a, M> !UnwindSafe for Ref<'a, M>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,