#[repr(C)]pub struct cose_hdr {
pub next: *mut cose_hdr,
pub key: i32,
pub len: size_t,
pub v: cose_hdr__bindgen_ty_1,
pub type_: cose_hdr_type_t,
}
Expand description
@name COSE header struct @{
Fields§
§next: *mut cose_hdr
< Next header in list
key: i32
< Header label
len: size_t
< Length of the data, only used for the byte type
v: cose_hdr__bindgen_ty_1
< Union to combine different value types
type_: cose_hdr_type_t
< Type of the header
Trait Implementations§
impl Copy for cose_hdr
Auto Trait Implementations§
impl Freeze for cose_hdr
impl RefUnwindSafe for cose_hdr
impl !Send for cose_hdr
impl !Sync for cose_hdr
impl Unpin for cose_hdr
impl UnwindSafe for cose_hdr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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