pub struct CheckpointAnchor<T> {
pub index: usize,
pub anchor: T,
}Expand description
An authored anchor paired with its route index.
Fields§
§index: usize§anchor: TTrait Implementations§
Source§impl<T> Clone for CheckpointAnchor<T>where
T: Clone,
impl<T> Clone for CheckpointAnchor<T>where
T: Clone,
Source§fn clone(&self) -> CheckpointAnchor<T>
fn clone(&self) -> CheckpointAnchor<T>
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 moreSource§impl<T> Debug for CheckpointAnchor<T>where
T: Debug,
impl<T> Debug for CheckpointAnchor<T>where
T: Debug,
Source§impl<T> PartialEq for CheckpointAnchor<T>where
T: PartialEq,
impl<T> PartialEq for CheckpointAnchor<T>where
T: PartialEq,
impl<T> Copy for CheckpointAnchor<T>where
T: Copy,
impl<T> Eq for CheckpointAnchor<T>where
T: Eq,
impl<T> StructuralPartialEq for CheckpointAnchor<T>
Auto Trait Implementations§
impl<T> Freeze for CheckpointAnchor<T>where
T: Freeze,
impl<T> RefUnwindSafe for CheckpointAnchor<T>where
T: RefUnwindSafe,
impl<T> Send for CheckpointAnchor<T>where
T: Send,
impl<T> Sync for CheckpointAnchor<T>where
T: Sync,
impl<T> Unpin for CheckpointAnchor<T>where
T: Unpin,
impl<T> UnwindSafe for CheckpointAnchor<T>where
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