pub struct Delete { /* private fields */ }
Expand description
Represents an operation to delete a certain number of bytes at a particular position in a file
Implementations§
Source§impl Delete
impl Delete
Sourcepub fn get_position(&self) -> usize
pub fn get_position(&self) -> usize
Gets the byte position of this delete operation in its file
Sourcepub fn get_length(&self) -> usize
pub fn get_length(&self) -> usize
Gets the length in bytes of this delete operation
Trait Implementations§
impl StructuralPartialEq for Delete
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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