Struct rust_libretro_sys::retro_vfs_interface
source · [−]#[repr(C)]pub struct retro_vfs_interface {Show 19 fields
pub get_path: retro_vfs_get_path_t,
pub open: retro_vfs_open_t,
pub close: retro_vfs_close_t,
pub size: retro_vfs_size_t,
pub tell: retro_vfs_tell_t,
pub seek: retro_vfs_seek_t,
pub read: retro_vfs_read_t,
pub write: retro_vfs_write_t,
pub flush: retro_vfs_flush_t,
pub remove: retro_vfs_remove_t,
pub rename: retro_vfs_rename_t,
pub truncate: retro_vfs_truncate_t,
pub stat: retro_vfs_stat_t,
pub mkdir: retro_vfs_mkdir_t,
pub opendir: retro_vfs_opendir_t,
pub readdir: retro_vfs_readdir_t,
pub dirent_get_name: retro_vfs_dirent_get_name_t,
pub dirent_is_dir: retro_vfs_dirent_is_dir_t,
pub closedir: retro_vfs_closedir_t,
}Fields
get_path: retro_vfs_get_path_tVFS API v1
open: retro_vfs_open_tclose: retro_vfs_close_tsize: retro_vfs_size_ttell: retro_vfs_tell_tseek: retro_vfs_seek_tread: retro_vfs_read_twrite: retro_vfs_write_tflush: retro_vfs_flush_tremove: retro_vfs_remove_trename: retro_vfs_rename_ttruncate: retro_vfs_truncate_tVFS API v2
stat: retro_vfs_stat_tVFS API v3
mkdir: retro_vfs_mkdir_topendir: retro_vfs_opendir_treaddir: retro_vfs_readdir_tdirent_get_name: retro_vfs_dirent_get_name_tdirent_is_dir: retro_vfs_dirent_is_dir_tclosedir: retro_vfs_closedir_tTrait Implementations
sourceimpl Clone for retro_vfs_interface
impl Clone for retro_vfs_interface
sourcefn clone(&self) -> retro_vfs_interface
fn clone(&self) -> retro_vfs_interface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for retro_vfs_interface
impl Debug for retro_vfs_interface
impl Copy for retro_vfs_interface
Auto Trait Implementations
impl RefUnwindSafe for retro_vfs_interface
impl Send for retro_vfs_interface
impl Sync for retro_vfs_interface
impl Unpin for retro_vfs_interface
impl UnwindSafe for retro_vfs_interface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
