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