Struct gdnative::XMLParser
[−]
[src]
pub struct XMLParser { /* fields omitted */ }
core class XMLParser : Reference
(reference counted)
Base class
XMLParser inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl XMLParser
[src]
pub fn as_reference(&self) -> Reference
[src]
Up-cast.
pub fn new() -> Self
[src]
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn read(&mut self) -> GodotResult
[src]
pub fn get_node_name(&self) -> GodotString
[src]
pub fn get_node_data(&self) -> GodotString
[src]
pub fn get_node_offset(&self) -> i64
[src]
pub fn get_attribute_count(&self) -> i64
[src]
pub fn get_attribute_name(&self, idx: i64) -> GodotString
[src]
pub fn get_attribute_value(&self, idx: i64) -> GodotString
[src]
pub fn has_attribute(&self, name: GodotString) -> bool
[src]
pub fn get_named_attribute_value(&self, name: GodotString) -> GodotString
[src]
pub fn get_named_attribute_value_safe(&self, name: GodotString) -> GodotString
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn get_current_line(&self) -> i64
[src]
pub fn skip_section(&mut self)
[src]
pub fn seek(&mut self, position: i64) -> GodotResult
[src]
pub fn open(&mut self, file: GodotString) -> GodotResult
[src]
pub fn open_buffer(&mut self, buffer: ByteArray) -> GodotResult
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for XMLParser
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for XMLParser
[src]
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.