riot_sys

Type Alias cose_hdr_t

Source
pub type cose_hdr_t = cose_hdr;
Expand description

@name COSE header struct @{

Aliased Type§

struct cose_hdr_t {
    pub next: *mut cose_hdr,
    pub key: i32,
    pub len: u32,
    pub v: cose_hdr__bindgen_ty_1,
    pub type_: u8,
}

Fields§

§next: *mut cose_hdr

< Next header in list

§key: i32

< Header label

§len: u32

< Length of the data, only used for the byte type

§v: cose_hdr__bindgen_ty_1

< Union to combine different value types

§type_: u8

< Type of the header

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 20 bytes

Trait Implementations

Source§

impl Clone for cose_hdr

Source§

fn clone(&self) -> cose_hdr

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for cose_hdr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for cose_hdr

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for cose_hdr