logo
#[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_t

VFS 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_t

VFS API v2

stat: retro_vfs_stat_t

VFS 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_t

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.