pub struct At {
pub root: usize,
pub index: usize,
}
Expand description
A position in a history tree.
Fields§
§root: usize
The root branch.
index: usize
The index of edit.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for At
impl<'de> Deserialize<'de> for At
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for At
impl Eq for At
impl StructuralEq for At
impl StructuralPartialEq for At
Auto Trait Implementations§
impl RefUnwindSafe for At
impl Send for At
impl Sync for At
impl Unpin for At
impl UnwindSafe for At
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