Struct ppapi::ffi::Struct_PPB_FileSystem_1_0Experimental [-]  [+] [src]

pub struct Struct_PPB_FileSystem_1_0 {
    pub Create: Option< extern "C" fn(instance: PP_Instance, _type: PP_FileSystemType) -> PP_Resource>,
    pub IsFileSystem: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub Open: Option< extern "C" fn(file_system: PP_Resource, expected_size: int64_t, callback: Struct_PP_CompletionCallback) -> int32_t>,
    pub GetType: Option< extern "C" fn(file_system: PP_Resource) -> PP_FileSystemType>,
}

Fields

Create
IsFileSystem
Open
GetType

Trait Implementations

impl Default for Struct_PPB_FileSystem_1_0

fn default() -> Struct_PPB_FileSystem_1_0

impl FileSystemIf for Struct_PPB_FileSystem_1_0

fn create(&self, inst: PP_Instance, t: PP_FileSystemType) -> Option<PP_Resource>

fn is(&self, res: PP_Resource) -> bool

fn open(&self, sys: PP_Resource, expected_size: int64_t, callback: PP_CompletionCallback) -> int32_t

fn get_type(&self, res: PP_Resource) -> PP_FileSystemType

Derived Implementations

impl Copy for Struct_PPB_FileSystem_1_0