pub struct EditRef {
pub revision: usize,
pub index: usize,
}Expand description
A borrowed payload location in this buffer’s immutable history tree (or its current pending node). It carries no mutation authority.
Fields§
§revision: usize§index: usizeTrait Implementations§
impl Copy for EditRef
Source§impl<'de> Deserialize<'de> for EditRef
impl<'de> Deserialize<'de> for EditRef
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 Eq for EditRef
impl StructuralPartialEq for EditRef
Auto Trait Implementations§
impl Freeze for EditRef
impl RefUnwindSafe for EditRef
impl Send for EditRef
impl Sync for EditRef
impl Unpin for EditRef
impl UnsafeUnpin for EditRef
impl UnwindSafe for EditRef
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