Struct riot_sys::nanocbor_encoder
source · #[repr(C)]pub struct nanocbor_encoder {
pub cur: *mut u8,
pub end: *mut u8,
pub len: size_t,
}
Expand description
@brief encoder context
Fields§
§cur: *mut u8
< Current position in the buffer
end: *mut u8
< end of the buffer
len: size_t
< Length in bytes of supplied cbor data. Incremented separate from the buffer check
Trait Implementations§
source§impl Clone for nanocbor_encoder
impl Clone for nanocbor_encoder
source§fn clone(&self) -> nanocbor_encoder
fn clone(&self) -> nanocbor_encoder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nanocbor_encoder
impl Debug for nanocbor_encoder
source§impl Default for nanocbor_encoder
impl Default for nanocbor_encoder
impl Copy for nanocbor_encoder
Auto Trait Implementations§
impl RefUnwindSafe for nanocbor_encoder
impl !Send for nanocbor_encoder
impl !Sync for nanocbor_encoder
impl Unpin for nanocbor_encoder
impl UnwindSafe for nanocbor_encoder
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