Struct encoding_rs::handles::ByteOneHandle
source · pub struct ByteOneHandle<'a, 'b>where
'b: 'a,{
dest: &'a mut ByteDestination<'b>,
}
Fields§
§dest: &'a mut ByteDestination<'b>
Implementations§
source§impl<'a, 'b> ByteOneHandle<'a, 'b>where
'b: 'a,
impl<'a, 'b> ByteOneHandle<'a, 'b>where
'b: 'a,
fn new(dst: &'a mut ByteDestination<'b>) -> ByteOneHandle<'a, 'b>
pub fn written(&self) -> usize
pub fn write_one(self, first: u8) -> &'a mut ByteDestination<'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for ByteOneHandle<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ByteOneHandle<'a, 'b>
impl<'a, 'b> Send for ByteOneHandle<'a, 'b>
impl<'a, 'b> Sync for ByteOneHandle<'a, 'b>
impl<'a, 'b> Unpin for ByteOneHandle<'a, 'b>
impl<'a, 'b> !UnwindSafe for ByteOneHandle<'a, 'b>
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