pub struct RangeInfo<T, K = ()>{
pub range: Range<T>,
pub kind: K,
}Expand description
区间信息:包含范围和自定义元数据
Fields§
§range: Range<T>§kind: KImplementations§
Trait Implementations§
impl<T, K> Eq for RangeInfo<T, K>
impl<T, K> StructuralPartialEq for RangeInfo<T, K>
Auto Trait Implementations§
impl<T, K> Freeze for RangeInfo<T, K>
impl<T, K> RefUnwindSafe for RangeInfo<T, K>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, K> Send for RangeInfo<T, K>
impl<T, K> Sync for RangeInfo<T, K>
impl<T, K> Unpin for RangeInfo<T, K>
impl<T, K> UnwindSafe for RangeInfo<T, K>where
K: 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