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]
impl JSONParseResult
pub fn as_reference(&self) -> Reference
[src]
pub fn as_reference(&self) -> Reference
Up-cast.
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn new_ref(&self) -> Self
[src]
pub fn new_ref(&self) -> Self
Creates a new reference to the same object.
pub fn get_error(&self) -> GodotResult
[src]
pub fn get_error(&self) -> GodotResult
pub fn get_error_string(&self) -> GodotString
[src]
pub fn get_error_string(&self) -> GodotString
pub fn get_error_line(&self) -> i64
[src]
pub fn get_error_line(&self) -> i64
pub fn get_result(&self) -> Variant
[src]
pub fn get_result(&self) -> Variant
pub fn set_error(&mut self, error: i64)
[src]
pub fn set_error(&mut self, error: i64)
pub fn set_error_string(&mut self, error_string: GodotString)
[src]
pub fn set_error_string(&mut self, error_string: GodotString)
pub fn set_error_line(&mut self, error_line: i64)
[src]
pub fn set_error_line(&mut self, error_line: i64)
pub fn set_result(&mut self, result: Variant)
[src]
pub fn set_result(&mut self, result: Variant)
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = Reference>
pub fn as_object(&self) -> Object
[src]
pub fn as_object(&self) -> Object
Up-cast.
pub fn init_ref(&mut self) -> bool
[src]
pub fn init_ref(&mut self) -> bool
pub fn reference(&mut self) -> bool
[src]
pub fn reference(&mut self) -> bool
pub fn unreference(&mut self) -> bool
[src]
pub fn unreference(&mut self) -> bool
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for JSONParseResult
[src]
impl GodotObject for JSONParseResult
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl Deref for JSONParseResult
[src]
impl Deref for JSONParseResult
type Target = Reference
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for JSONParseResult
[src]
impl DerefMut for JSONParseResult
impl Drop for JSONParseResult
[src]
impl Drop for JSONParseResult
Auto Trait Implementations
impl !Send for JSONParseResult
impl !Send for JSONParseResult
impl !Sync for JSONParseResult
impl !Sync for JSONParseResult