pub enum InsertItem<T> {
New(Range<T>),
Overlap(Range<T>),
}Expand description
区間を挿入したときに触った各部分区間の状態を表す
Variants§
Trait Implementations§
Source§impl<T: Clone> Clone for InsertItem<T>
impl<T: Clone> Clone for InsertItem<T>
Source§impl<T: Debug> Debug for InsertItem<T>
impl<T: Debug> Debug for InsertItem<T>
impl<T: Eq> Eq for InsertItem<T>
Source§impl<T: PartialEq> PartialEq for InsertItem<T>
impl<T: PartialEq> PartialEq for InsertItem<T>
impl<T: PartialEq> StructuralPartialEq for InsertItem<T>
Auto Trait Implementations§
impl<T> Freeze for InsertItem<T>
impl<T> RefUnwindSafe for InsertItem<T>where
Range<T>: RefUnwindSafe,
impl<T> Send for InsertItem<T>
impl<T> Sync for InsertItem<T>
impl<T> Unpin for InsertItem<T>
impl<T> UnsafeUnpin for InsertItem<T>where
Range<T>: UnsafeUnpin,
impl<T> UnwindSafe for InsertItem<T>where
Range<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