pub struct DotRange<A> {
pub actor: A,
pub counter_range: Range<u64>,
}
Expand description
A type for modeling a range of Dot’s from one actor.
Fields§
§actor: A
The actor identifier
counter_range: Range<u64>
The counter range representing the dots:
Dot::new(actor, counter_range.start) .. Dot::new(actor, counter_range.end)
Start is inclusive, end is exclusive.
Trait Implementations§
source§impl<A: Debug> Error for DotRange<A>
impl<A: Debug> Error for DotRange<A>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<A: PartialEq> PartialEq<DotRange<A>> for DotRange<A>
impl<A: PartialEq> PartialEq<DotRange<A>> for DotRange<A>
impl<A: Eq> Eq for DotRange<A>
impl<A> StructuralEq for DotRange<A>
impl<A> StructuralPartialEq for DotRange<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for DotRange<A>where A: RefUnwindSafe,
impl<A> Send for DotRange<A>where A: Send,
impl<A> Sync for DotRange<A>where A: Sync,
impl<A> Unpin for DotRange<A>where A: Unpin,
impl<A> UnwindSafe for DotRange<A>where A: 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