pub struct Match {
pub a: (u32, u32),
pub b: (u32, u32),
pub len: u32,
}Expand description
One run of characters common to both strings, as LCS IDX reports it.
Both ends of both ranges are inclusive, which is Redis’s convention here and
the same one GETRANGE uses.
Fields§
§a: (u32, u32)Where the run sits in the first string, first and last byte.
b: (u32, u32)Where the run sits in the second string, first and last byte.
len: u32How long the run is, which WITHMATCHLEN asks for.
Trait Implementations§
impl Copy for Match
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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