pub struct FnProof<'a, Options, ArgModes, OutMode, Args, Output> { /* private fields */ }
Expand description
FnProof is the type of proof closures; the syntax proof_fn is used to wrap FnProof
Trait Implementations§
§impl<'a, Options, ArgModes, OutMode, Args, Output> Clone for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: Copy,
impl<'a, Options, ArgModes, OutMode, Args, Output> Clone for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: Copy,
§impl<'a, Options, ArgModes, OutMode, Args, Output> Fn<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
impl<'a, Options, ArgModes, OutMode, Args, Output> Fn<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
§impl<'a, Options, ArgModes, OutMode, Args, Output> FnMut<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: ProofFnMut,
Args: Tuple,
impl<'a, Options, ArgModes, OutMode, Args, Output> FnMut<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: ProofFnMut,
Args: Tuple,
§impl<'a, Options, ArgModes, OutMode, Args, Output> FnOnce<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: ProofFnOnce,
Args: Tuple,
impl<'a, Options, ArgModes, OutMode, Args, Output> FnOnce<Args> for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: ProofFnOnce,
Args: Tuple,
impl<'a, Options, ArgModes, OutMode, Args, Output> Copy for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: Copy,
impl<'a, Options, ArgModes, OutMode, Args, Output> Send for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: Send,
impl<'a, Options, ArgModes, OutMode, Args, Output> Sync for FnProof<'a, Options, ArgModes, OutMode, Args, Output>where
Options: Sync,
Auto Trait Implementations§
impl<'a, Options, ArgModes, OutMode, Args, Output> Freeze for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
impl<'a, Options, ArgModes, OutMode, Args, Output> !RefUnwindSafe for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
impl<'a, Options, ArgModes, OutMode, Args, Output> Unpin for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
impl<'a, Options, ArgModes, OutMode, Args, Output> !UnwindSafe for FnProof<'a, Options, ArgModes, OutMode, Args, Output>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Args, Output, F> FnWithRequiresEnsures<Args, Output> for F
impl<Args, Output, F> FnWithRequiresEnsures<Args, Output> for F
source§impl<F> Pattern for F
impl<F> Pattern for F
source§type Searcher<'a> = CharPredicateSearcher<'a, F>
type Searcher<'a> = CharPredicateSearcher<'a, F>
🔬This is a nightly-only experimental API. (
pattern
)Associated searcher for this pattern
source§fn into_searcher<'a>(self, haystack: &'a str) -> CharPredicateSearcher<'a, F>
fn into_searcher<'a>(self, haystack: &'a str) -> CharPredicateSearcher<'a, F>
🔬This is a nightly-only experimental API. (
pattern
)Constructs the associated searcher from
self
and the haystack
to search in.source§fn is_contained_in<'a>(self, haystack: &'a str) -> bool
fn is_contained_in<'a>(self, haystack: &'a str) -> bool
🔬This is a nightly-only experimental API. (
pattern
)Checks whether the pattern matches anywhere in the haystack
source§fn is_prefix_of<'a>(self, haystack: &'a str) -> bool
fn is_prefix_of<'a>(self, haystack: &'a str) -> bool
🔬This is a nightly-only experimental API. (
pattern
)Checks whether the pattern matches at the front of the haystack
source§fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
🔬This is a nightly-only experimental API. (
pattern
)Removes the pattern from the front of haystack, if it matches.
source§fn is_suffix_of<'a>(self, haystack: &'a str) -> boolwhere
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
fn is_suffix_of<'a>(self, haystack: &'a str) -> boolwhere
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
🔬This is a nightly-only experimental API. (
pattern
)Checks whether the pattern matches at the back of the haystack
source§fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>where
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>where
CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
🔬This is a nightly-only experimental API. (
pattern
)Removes the pattern from the back of haystack, if it matches.