Struct esp_idf_sys::pbuf_custom
source · #[repr(C)]pub struct pbuf_custom {
pub pbuf: pbuf,
pub custom_free_function: pbuf_free_custom_fn,
}
Expand description
A custom pbuf: like a pbuf, but following a function pointer to free it.
Fields§
§pbuf: pbuf
The actual pbuf
custom_free_function: pbuf_free_custom_fn
This function is called when pbuf_free deallocates this pbuf(_custom)
Trait Implementations§
source§impl Clone for pbuf_custom
impl Clone for pbuf_custom
source§fn clone(&self) -> pbuf_custom
fn clone(&self) -> pbuf_custom
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for pbuf_custom
impl Debug for pbuf_custom
source§impl Default for pbuf_custom
impl Default for pbuf_custom
impl Copy for pbuf_custom
Auto Trait Implementations§
impl Freeze for pbuf_custom
impl RefUnwindSafe for pbuf_custom
impl !Send for pbuf_custom
impl !Sync for pbuf_custom
impl Unpin for pbuf_custom
impl UnwindSafe for pbuf_custom
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
)