Union esp_idf_sys::esp_vfs_t__bindgen_ty_7
source · #[repr(C)]
pub union esp_vfs_t__bindgen_ty_7 {
pub close_p: Option<unsafe extern "C" fn(ctx: *mut c_void, fd: c_int) -> c_int>,
pub close: Option<unsafe extern "C" fn(fd: c_int) -> c_int>,
}
Fields§
§close_p: Option<unsafe extern "C" fn(ctx: *mut c_void, fd: c_int) -> c_int>
< close with context pointer
close: Option<unsafe extern "C" fn(fd: c_int) -> c_int>
< close without context pointer
Trait Implementations§
source§impl Clone for esp_vfs_t__bindgen_ty_7
impl Clone for esp_vfs_t__bindgen_ty_7
source§fn clone(&self) -> esp_vfs_t__bindgen_ty_7
fn clone(&self) -> esp_vfs_t__bindgen_ty_7
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 Default for esp_vfs_t__bindgen_ty_7
impl Default for esp_vfs_t__bindgen_ty_7
impl Copy for esp_vfs_t__bindgen_ty_7
Auto Trait Implementations§
impl Freeze for esp_vfs_t__bindgen_ty_7
impl RefUnwindSafe for esp_vfs_t__bindgen_ty_7
impl Send for esp_vfs_t__bindgen_ty_7
impl Sync for esp_vfs_t__bindgen_ty_7
impl Unpin for esp_vfs_t__bindgen_ty_7
impl UnwindSafe for esp_vfs_t__bindgen_ty_7
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
)