Union esp_idf_sys::esp_vfs_t__bindgen_ty_3
source · [−]#[repr(C)]
pub union esp_vfs_t__bindgen_ty_3 {
pub read_p: Option<unsafe extern "C" fn(ctx: *mut c_void, fd: c_int, dst: *mut c_void, size: usize) -> isize>,
pub read: Option<unsafe extern "C" fn(fd: c_int, dst: *mut c_void, size: usize) -> isize>,
}
Fields
read_p: Option<unsafe extern "C" fn(ctx: *mut c_void, fd: c_int, dst: *mut c_void, size: usize) -> isize>
< Read with context pointer
read: Option<unsafe extern "C" fn(fd: c_int, dst: *mut c_void, size: usize) -> isize>
< Read without context pointer
Trait Implementations
sourceimpl Clone for esp_vfs_t__bindgen_ty_3
impl Clone for esp_vfs_t__bindgen_ty_3
sourcefn clone(&self) -> esp_vfs_t__bindgen_ty_3
fn clone(&self) -> esp_vfs_t__bindgen_ty_3
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for esp_vfs_t__bindgen_ty_3
impl Default for esp_vfs_t__bindgen_ty_3
impl Copy for esp_vfs_t__bindgen_ty_3
Auto Trait Implementations
impl RefUnwindSafe for esp_vfs_t__bindgen_ty_3
impl Send for esp_vfs_t__bindgen_ty_3
impl Sync for esp_vfs_t__bindgen_ty_3
impl Unpin for esp_vfs_t__bindgen_ty_3
impl UnwindSafe for esp_vfs_t__bindgen_ty_3
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more