#[repr(transparent)]pub struct Capture(_);
Expand description
Structure representing a captured subexpression within a match.
Implementations
Trait Implementations
sourceimpl Deref for Capture
impl Deref for Capture
type Target = ch_capture
type Target = ch_capture
The resulting type after dereferencing.
sourceimpl From<Capture> for ch_capture
impl From<Capture> for ch_capture
sourceimpl From<ch_capture> for Capture
impl From<ch_capture> for Capture
sourcefn from(original: ch_capture) -> Capture
fn from(original: ch_capture) -> Capture
Converts to this type from the input type.
impl Copy for Capture
impl Eq for Capture
impl StructuralEq for Capture
impl StructuralPartialEq for Capture
Auto Trait Implementations
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnwindSafe for Capture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more