pub struct Any<'t> { /* private fields */ }
Expand description
Trait Implementations§
source§impl<'t> Program<'t> for Any<'t>
impl<'t> Program<'t> for Any<'t>
source§fn is_match<'p>(&self, path: impl Into<CandidatePath<'p>>) -> bool
fn is_match<'p>(&self, path: impl Into<CandidatePath<'p>>) -> bool
Returns
true
if a path matches the pattern. Read moresource§fn matched<'p>(&self, path: &'p CandidatePath<'_>) -> Option<MatchedText<'p>>
fn matched<'p>(&self, path: &'p CandidatePath<'_>) -> Option<MatchedText<'p>>
source§fn is_exhaustive(&self) -> bool
fn is_exhaustive(&self) -> bool
Returns
true
if the pattern is exhaustive. Read moreAuto Trait Implementations§
impl<'t> RefUnwindSafe for Any<'t>
impl<'t> Send for Any<'t>
impl<'t> Sync for Any<'t>
impl<'t> Unpin for Any<'t>
impl<'t> UnwindSafe for Any<'t>
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