Struct gdnative::Translation
[−]
[src]
pub struct Translation { /* fields omitted */ }
Methods
impl Translation
[src]
pub fn set_locale(&self, locale: GodotString)
[src]
pub fn get_locale(&self) -> GodotString
[src]
pub fn add_message(&self, src_message: GodotString, xlated_message: GodotString)
[src]
pub fn get_message(&self, src_message: GodotString) -> GodotString
[src]
pub fn erase_message(&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(&self, arg0: StringArray)
[src]
pub fn _get_messages(&self) -> StringArray
[src]
Methods from Deref<Target = Resource>
pub fn _setup_local_to_scene(&self)
[src]
pub fn set_path(&self, path: GodotString)
[src]
pub fn take_over_path(&self, path: GodotString)
[src]
pub fn get_path(&self) -> GodotString
[src]
pub fn set_name(&self, name: GodotString)
[src]
pub fn get_name(&self) -> GodotString
[src]
pub fn get_rid(&self) -> Rid
[src]
pub fn set_local_to_scene(&self, enable: bool)
[src]
pub fn is_local_to_scene(&self) -> bool
[src]
pub fn get_local_scene(&self) -> Option<GodotRef<Node>>
[src]
pub fn setup_local_to_scene(&self)
[src]
pub fn duplicate(&self, subresources: bool) -> Option<GodotRef<Resource>>
[src]
Trait Implementations
impl GodotClass for Translation
[src]
type ClassData = Translation
type Reference = Translation
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