Struct esp_idf_svc::sys::pbuf_rom
source · #[repr(C)]pub struct pbuf_rom {
pub next: *mut pbuf,
pub payload: *const c_void,
}
Expand description
Helper struct for const-correctness only. The only meaning of this one is to provide a const payload pointer for PBUF_ROM type.
Fields§
§next: *mut pbuf
next pbuf in singly linked pbuf chain
payload: *const c_void
pointer to the actual data in the buffer
Trait Implementations§
impl Copy for pbuf_rom
Auto Trait Implementations§
impl Freeze for pbuf_rom
impl RefUnwindSafe for pbuf_rom
impl !Send for pbuf_rom
impl !Sync for pbuf_rom
impl Unpin for pbuf_rom
impl UnwindSafe for pbuf_rom
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)