Struct gdnative::EditorResourcePreviewGenerator [−][src]
pub struct EditorResourcePreviewGenerator { /* fields omitted */ }
tools class EditorResourcePreviewGenerator : Reference
(reference counted)
Base class
EditorResourcePreviewGenerator inherits Reference 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 EditorResourcePreviewGenerator
[src]
impl EditorResourcePreviewGenerator
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 handles(&mut self, _type: GodotString) -> bool
[src]
pub fn handles(&mut self, _type: GodotString) -> bool
pub fn generate(&mut self, from: Option<Resource>) -> Option<Texture>
[src]
pub fn generate(&mut self, from: Option<Resource>) -> Option<Texture>
pub fn generate_from_path(&mut self, path: GodotString) -> Option<Texture>
[src]
pub fn generate_from_path(&mut self, path: GodotString) -> Option<Texture>
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 EditorResourcePreviewGenerator
[src]
impl GodotObject for EditorResourcePreviewGenerator
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 EditorResourcePreviewGenerator
[src]
impl Deref for EditorResourcePreviewGenerator
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 EditorResourcePreviewGenerator
[src]
impl DerefMut for EditorResourcePreviewGenerator
impl Drop for EditorResourcePreviewGenerator
[src]
impl Drop for EditorResourcePreviewGenerator
Auto Trait Implementations
impl !Send for EditorResourcePreviewGenerator
impl !Send for EditorResourcePreviewGenerator
impl !Sync for EditorResourcePreviewGenerator
impl !Sync for EditorResourcePreviewGenerator