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 RefUnwindSafe for Fixup
impl Send for Fixup
impl Sync for Fixup
impl Unpin for Fixup
impl UnwindSafe for Fixup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more