pub struct ExactInterval<O, V> {
pub object: O,
pub start: usize,
pub length: usize,
pub value: V,
}Fields§
§object: O§start: usize§length: usize§value: VImplementations§
Trait Implementations§
Source§impl<O: Clone, V: Clone> Clone for ExactInterval<O, V>
impl<O: Clone, V: Clone> Clone for ExactInterval<O, V>
Source§fn clone(&self) -> ExactInterval<O, V>
fn clone(&self) -> ExactInterval<O, V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<O: Copy, V: Copy> Copy for ExactInterval<O, V>
impl<O: Eq, V: Eq> Eq for ExactInterval<O, V>
impl<O: PartialEq, V: PartialEq> StructuralPartialEq for ExactInterval<O, V>
Auto Trait Implementations§
impl<O, V> Freeze for ExactInterval<O, V>
impl<O, V> RefUnwindSafe for ExactInterval<O, V>where
O: RefUnwindSafe,
V: RefUnwindSafe,
impl<O, V> Send for ExactInterval<O, V>
impl<O, V> Sync for ExactInterval<O, V>
impl<O, V> Unpin for ExactInterval<O, V>
impl<O, V> UnsafeUnpin for ExactInterval<O, V>where
O: UnsafeUnpin,
V: UnsafeUnpin,
impl<O, V> UnwindSafe for ExactInterval<O, V>where
O: UnwindSafe,
V: 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