pub struct OriginalRange<T, M> {
pub range: Range<T>,
pub meta: M,
}Expand description
原始区间与 metadata 的配对。
Fields§
§range: Range<T>§meta: MTrait Implementations§
Source§impl<T: Clone, M: Clone> Clone for OriginalRange<T, M>
impl<T: Clone, M: Clone> Clone for OriginalRange<T, M>
Source§fn clone(&self) -> OriginalRange<T, M>
fn clone(&self) -> OriginalRange<T, M>
Returns a duplicate 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 moreimpl<T: Eq, M: Eq> Eq for OriginalRange<T, M>
impl<T, M> StructuralPartialEq for OriginalRange<T, M>
Auto Trait Implementations§
impl<T, M> Freeze for OriginalRange<T, M>
impl<T, M> RefUnwindSafe for OriginalRange<T, M>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for OriginalRange<T, M>
impl<T, M> Sync for OriginalRange<T, M>
impl<T, M> Unpin for OriginalRange<T, M>
impl<T, M> UnwindSafe for OriginalRange<T, M>where
M: UnwindSafe,
T: 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