pub enum CapturePart {
Head(usize),
Tail(usize),
HeadTail(usize),
}Variants§
Trait Implementations§
source§impl Clone for CapturePart
impl Clone for CapturePart
source§fn clone(&self) -> CapturePart
fn clone(&self) -> CapturePart
Returns a copy of the value. Read more
1.0.0 · 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 CapturePart
impl Debug for CapturePart
source§impl<'de> Deserialize<'de> for CapturePart
impl<'de> Deserialize<'de> for CapturePart
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CapturePart
impl PartialEq for CapturePart
source§fn eq(&self, other: &CapturePart) -> bool
fn eq(&self, other: &CapturePart) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CapturePart
impl Serialize for CapturePart
impl Eq for CapturePart
impl StructuralEq for CapturePart
impl StructuralPartialEq for CapturePart
Auto Trait Implementations§
impl RefUnwindSafe for CapturePart
impl Send for CapturePart
impl Sync for CapturePart
impl Unpin for CapturePart
impl UnwindSafe for CapturePart
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