Struct gdnative::JSONParseResult
[−]
[src]
pub struct JSONParseResult { /* fields omitted */ }
core class JSONParseResult : Reference
(reference counted)
Base class
JSONParseResult inherits Reference and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl JSONParseResult
[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 get_error(&self) -> GodotResult
[src]
pub fn get_error_string(&self) -> GodotString
[src]
pub fn get_error_line(&self) -> i64
[src]
pub fn get_result(&self) -> Variant
[src]
pub fn set_error(&mut self, error: i64)
[src]
pub fn set_error_string(&mut self, error_string: GodotString)
[src]
pub fn set_error_line(&mut self, error_line: i64)
[src]
pub fn set_result(&mut self, result: Variant)
[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 JSONParseResult
[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 JSONParseResult
[src]
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.