pub struct AnchorNone;Trait Implementations§
Source§impl Anchor for AnchorNone
impl Anchor for AnchorNone
Source§fn assert<'a, H: Haystack<'a>>(_hay: &H) -> ControlFlow<(), bool>
fn assert<'a, H: Haystack<'a>>(_hay: &H) -> ControlFlow<(), bool>
Asserts that each anchor in this set could possibly succeed with the given haystack state.
In the presence of a start anchor, the haystack’s position at the start doesn’t need to be
checked again. Read more
Source§fn assert_fixed<'a, H: Haystack<'a>>(_hay: &H) -> bool
fn assert_fixed<'a, H: Haystack<'a>>(_hay: &H) -> bool
Asserts that each anchor in this set could possibly succeed with the given haystack state.
In the presence of a start anchor, the haystack’s position at the start doesn’t need to be
checked again. This variant provide no information about whether the search should continue
and should be called by searches that intend to match the entirety of the provided haystack.
Source§impl Clone for AnchorNone
impl Clone for AnchorNone
Source§fn clone(&self) -> AnchorNone
fn clone(&self) -> AnchorNone
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnchorNone
impl Debug for AnchorNone
Source§impl Default for AnchorNone
impl Default for AnchorNone
Source§fn default() -> AnchorNone
fn default() -> AnchorNone
Returns the “default value” for a type. Read more
impl Copy for AnchorNone
Auto Trait Implementations§
impl Freeze for AnchorNone
impl RefUnwindSafe for AnchorNone
impl Send for AnchorNone
impl Sync for AnchorNone
impl Unpin for AnchorNone
impl UnsafeUnpin for AnchorNone
impl UnwindSafe for AnchorNone
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