Struct gdnative::_File
[−]
[src]
pub struct _File { /* fields omitted */ }
Methods
impl _File
[src]
pub fn open_encrypted(
&self,
path: GodotString,
mode_flags: i64,
key: ByteArray
) -> GodotResult
[src]
&self,
path: GodotString,
mode_flags: i64,
key: ByteArray
) -> GodotResult
pub fn open_encrypted_with_pass(
&self,
path: GodotString,
mode_flags: i64,
pass: GodotString
) -> GodotResult
[src]
&self,
path: GodotString,
mode_flags: i64,
pass: GodotString
) -> GodotResult
pub fn open_compressed(
&self,
path: GodotString,
mode_flags: i64,
compression_mode: i64
) -> GodotResult
[src]
&self,
path: GodotString,
mode_flags: i64,
compression_mode: i64
) -> GodotResult
pub fn open(&self, path: GodotString, flags: i64) -> GodotResult
[src]
pub fn close(&self)
[src]
pub fn is_open(&self) -> bool
[src]
pub fn seek(&self, position: i64)
[src]
pub fn seek_end(&self, position: i64)
[src]
pub fn get_position(&self) -> i64
[src]
pub fn get_len(&self) -> i64
[src]
pub fn eof_reached(&self) -> bool
[src]
pub fn get_8(&self) -> i64
[src]
pub fn get_16(&self) -> i64
[src]
pub fn get_32(&self) -> i64
[src]
pub fn get_64(&self) -> i64
[src]
pub fn get_float(&self) -> f64
[src]
pub fn get_double(&self) -> f64
[src]
pub fn get_real(&self) -> f64
[src]
pub fn get_buffer(&self, len: i64) -> ByteArray
[src]
pub fn get_line(&self) -> GodotString
[src]
pub fn get_as_text(&self) -> GodotString
[src]
pub fn get_md5(&self, path: GodotString) -> GodotString
[src]
pub fn get_sha256(&self, path: GodotString) -> GodotString
[src]
pub fn get_endian_swap(&self) -> bool
[src]
pub fn set_endian_swap(&self, enable: bool)
[src]
pub fn get_error(&self) -> GodotResult
[src]
pub fn get_var(&self) -> Variant
[src]
pub fn get_csv_line(&self, delim: GodotString) -> StringArray
[src]
pub fn store_8(&self, value: i64)
[src]
pub fn store_16(&self, value: i64)
[src]
pub fn store_32(&self, value: i64)
[src]
pub fn store_64(&self, value: i64)
[src]
pub fn store_float(&self, value: f64)
[src]
pub fn store_double(&self, value: f64)
[src]
pub fn store_real(&self, value: f64)
[src]
pub fn store_buffer(&self, buffer: ByteArray)
[src]
pub fn store_line(&self, line: GodotString)
[src]
pub fn store_string(&self, string: GodotString)
[src]
pub fn store_var(&self, value: Variant)
[src]
pub fn store_pascal_string(&self, string: GodotString)
[src]
pub fn get_pascal_string(&self) -> GodotString
[src]
pub fn file_exists(&self, path: GodotString) -> bool
[src]
pub fn get_modified_time(&self, file: GodotString) -> i64
[src]
Methods from Deref<Target = Reference>
pub fn init_ref(&self) -> bool
[src]
pub fn reference(&self) -> bool
[src]
pub fn unreference(&self) -> bool
[src]
Trait Implementations
impl GodotClass for _File
[src]
type ClassData = _File
type Reference = _File
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference