pub struct Patch {
pub offset: u64,
pub bytes: Vec<u8>,
}Expand description
Shared completion and patch types; retained paths for media implementations. Bytes to write over earlier output.
Fields§
§offset: u64Offset of the first byte relative to the start of this output stream.
bytes: Vec<u8>The new bytes.
Trait Implementations§
impl Eq for Patch
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patch
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