pub struct LeftOf<L>(pub L);Expand description
A Wrapper for other locators what will find the segment to the left
of the previous locator. So, LeftOf(5..8) is equivalent to 0..5.
Tuple Fields§
§0: LTrait Implementations§
impl<L: Copy> Copy for LeftOf<L>
impl<L: Eq> Eq for LeftOf<L>
impl<L> StructuralPartialEq for LeftOf<L>
Auto Trait Implementations§
impl<L> Freeze for LeftOf<L>where
L: Freeze,
impl<L> RefUnwindSafe for LeftOf<L>where
L: RefUnwindSafe,
impl<L> Send for LeftOf<L>where
L: Send,
impl<L> Sync for LeftOf<L>where
L: Sync,
impl<L> Unpin for LeftOf<L>where
L: Unpin,
impl<L> UnsafeUnpin for LeftOf<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for LeftOf<L>where
L: UnwindSafe,
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§impl<V> ToSummary<Size> for V
impl<V> ToSummary<Size> for V
Source§fn to_summary(&self) -> Size
fn to_summary(&self) -> Size
Creates the summary of a single value.
Source§impl<V> ToSummary<Unit> for V
impl<V> ToSummary<Unit> for V
Source§fn to_summary(&self) -> Unit
fn to_summary(&self) -> Unit
Creates the summary of a single value.