Struct gdnative::EditorSettings [−][src]
pub struct EditorSettings { /* fields omitted */ }
tools class EditorSettings : Resource
(reference counted)
Base class
EditorSettings inherits Resource and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Tool
This class is used to interact with godot's editor.
Methods
impl EditorSettings
[src]
impl EditorSettings
pub fn as_resource(&self) -> Resource
[src]
pub fn as_resource(&self) -> Resource
Up-cast.
pub fn has_setting(&self, name: GodotString) -> bool
[src]
pub fn has_setting(&self, name: GodotString) -> bool
pub fn set_setting(&mut self, name: GodotString, value: Variant)
[src]
pub fn set_setting(&mut self, name: GodotString, value: Variant)
pub fn get_setting(&self, name: GodotString) -> Variant
[src]
pub fn get_setting(&self, name: GodotString) -> Variant
pub fn erase(&mut self, property: GodotString)
[src]
pub fn erase(&mut self, property: GodotString)
pub fn set_initial_value(
&mut self,
name: GodotString,
value: Variant,
update_current: bool
)
[src]
pub fn set_initial_value(
&mut self,
name: GodotString,
value: Variant,
update_current: bool
)
pub fn property_can_revert(&mut self, name: GodotString) -> bool
[src]
pub fn property_can_revert(&mut self, name: GodotString) -> bool
pub fn property_get_revert(&mut self, name: GodotString) -> Variant
[src]
pub fn property_get_revert(&mut self, name: GodotString) -> Variant
pub fn add_property_info(&mut self, info: Dictionary)
[src]
pub fn add_property_info(&mut self, info: Dictionary)
pub fn get_settings_dir(&self) -> GodotString
[src]
pub fn get_settings_dir(&self) -> GodotString
pub fn get_project_settings_dir(&self) -> GodotString
[src]
pub fn get_project_settings_dir(&self) -> GodotString
pub fn set_favorite_dirs(&mut self, dirs: StringArray)
[src]
pub fn set_favorite_dirs(&mut self, dirs: StringArray)
pub fn get_favorite_dirs(&self) -> StringArray
[src]
pub fn get_favorite_dirs(&self) -> StringArray
pub fn set_recent_dirs(&mut self, dirs: StringArray)
[src]
pub fn set_recent_dirs(&mut self, dirs: StringArray)
pub fn get_recent_dirs(&self) -> StringArray
[src]
pub fn get_recent_dirs(&self) -> StringArray
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = Resource>
pub fn as_reference(&self) -> Reference
[src]
pub fn as_reference(&self) -> Reference
Up-cast.
pub fn new_ref(&self) -> Self
[src]
pub fn new_ref(&self) -> Self
Creates a new reference to the same object.
pub fn _setup_local_to_scene(&mut self)
[src]
pub fn _setup_local_to_scene(&mut self)
pub fn set_path(&mut self, path: GodotString)
[src]
pub fn set_path(&mut self, path: GodotString)
pub fn take_over_path(&mut self, path: GodotString)
[src]
pub fn take_over_path(&mut self, path: GodotString)
pub fn get_path(&self) -> GodotString
[src]
pub fn get_path(&self) -> GodotString
pub fn set_name(&mut self, name: GodotString)
[src]
pub fn set_name(&mut self, name: GodotString)
pub fn get_name(&self) -> GodotString
[src]
pub fn get_name(&self) -> GodotString
pub fn get_rid(&self) -> Rid
[src]
pub fn get_rid(&self) -> Rid
pub fn set_local_to_scene(&mut self, enable: bool)
[src]
pub fn set_local_to_scene(&mut self, enable: bool)
pub fn is_local_to_scene(&self) -> bool
[src]
pub fn is_local_to_scene(&self) -> bool
pub fn get_local_scene(&self) -> Option<Node>
[src]
pub fn get_local_scene(&self) -> Option<Node>
pub fn setup_local_to_scene(&mut self)
[src]
pub fn setup_local_to_scene(&mut self)
pub fn duplicate(&self, subresources: bool) -> Option<Resource>
[src]
pub fn duplicate(&self, subresources: bool) -> Option<Resource>
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for EditorSettings
[src]
impl GodotObject for EditorSettings
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 EditorSettings
[src]
impl Deref for EditorSettings
type Target = Resource
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for EditorSettings
[src]
impl DerefMut for EditorSettings
Auto Trait Implementations
impl !Send for EditorSettings
impl !Send for EditorSettings
impl !Sync for EditorSettings
impl !Sync for EditorSettings