Struct gdnative::PHashTranslation
[−]
[src]
pub struct PHashTranslation { /* fields omitted */ }
core class PHashTranslation : Translation
(reference counted)
Base class
PHashTranslation inherits Translation and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl PHashTranslation
[src]
pub fn as_translation(&self) -> Translation
[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 generate(&mut self, from: Option<Translation>)
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = Translation>
pub fn as_resource(&self) -> Resource
[src]
Up-cast.
pub fn new_ref(&self) -> Self
[src]
Creates a new reference to the same object.
pub fn set_locale(&mut self, locale: GodotString)
[src]
pub fn get_locale(&self) -> GodotString
[src]
pub fn add_message(
&mut self,
src_message: GodotString,
xlated_message: GodotString
)
[src]
&mut self,
src_message: GodotString,
xlated_message: GodotString
)
pub fn get_message(&self, src_message: GodotString) -> GodotString
[src]
pub fn erase_message(&mut self, src_message: GodotString)
[src]
pub fn get_message_list(&self) -> StringArray
[src]
pub fn get_message_count(&self) -> i64
[src]
pub fn _set_messages(&mut self, arg0: StringArray)
[src]
pub fn _get_messages(&self) -> StringArray
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for PHashTranslation
[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 PHashTranslation
[src]
type Target = Translation
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.