pub struct Fixup {
pub drop_left: u32,
pub drop_right: u32,
pub insert_len: u32,
pub insert_bytes: [u8; 4],
}
Expand description
Describes how to fix up encodings when concatenating.
We can drop characters on either side of the splice, and insert up to 4 bytes in the middle.
Fields§
§drop_left: u32
§drop_right: u32
§insert_len: u32
§insert_bytes: [u8; 4]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fixup
impl RefUnwindSafe for Fixup
impl Send for Fixup
impl Sync for Fixup
impl Unpin for Fixup
impl UnwindSafe for Fixup
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