pub struct ChangedRegion {
pub offset: usize,
pub length: usize,
}Expand description
A contiguous region of changed bytes.
Fields§
§offset: usizeByte offset from the start of the data.
length: usizeNumber of consecutive changed bytes.
Trait Implementations§
Source§impl Clone for ChangedRegion
impl Clone for ChangedRegion
Source§fn clone(&self) -> ChangedRegion
fn clone(&self) -> ChangedRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChangedRegion
Auto Trait Implementations§
impl Freeze for ChangedRegion
impl RefUnwindSafe for ChangedRegion
impl Send for ChangedRegion
impl Sync for ChangedRegion
impl Unpin for ChangedRegion
impl UnsafeUnpin for ChangedRegion
impl UnwindSafe for ChangedRegion
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