pub struct SideBytes {
pub data: Vec<u8>,
pub encoding_lossy: bool,
}Expand description
Bytes of one file side prepared for diffing.
Fields§
§data: Vec<u8>Raw file contents.
encoding_lossy: booltrue when SideBytes::text used lossy UTF-8 decoding.
Implementations§
Trait Implementations§
impl Eq for SideBytes
impl StructuralPartialEq for SideBytes
Auto Trait Implementations§
impl Freeze for SideBytes
impl RefUnwindSafe for SideBytes
impl Send for SideBytes
impl Sync for SideBytes
impl Unpin for SideBytes
impl UnsafeUnpin for SideBytes
impl UnwindSafe for SideBytes
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