Struct gdnative::TextureProgress
[−]
[src]
pub struct TextureProgress { /* fields omitted */ }
core class TextureProgress : Range
(manually managed)
Base class
TextureProgress inherits Range and all of its methods.
Memory management
Non reference counted objects such as the ones of this type are usually owned by the engine.
In the cases where Rust code owns an object of this type, ownership should be either passed
to the engine or the object must be manually destroyed using TextureProgress::free
.
Methods
impl TextureProgress
[src]
pub fn as_range(&self) -> Range
[src]
Up-cast.
pub fn new() -> Self
[src]
Constructor.
Because this type is not reference counted, the lifetime of the returned object
is not automatically managed.
Immediately after creation, the object is owned by the caller, and can be
passed to the engine (in which case the engine will be responsible for
destroying the object) or destroyed manually using TextureProgress::free
.
pub unsafe fn free(self)
[src]
Manually deallocate the object.
pub fn set_under_texture(&mut self, tex: Option<Texture>)
[src]
pub fn get_under_texture(&self) -> Option<Texture>
[src]
pub fn set_progress_texture(&mut self, tex: Option<Texture>)
[src]
pub fn get_progress_texture(&self) -> Option<Texture>
[src]
pub fn set_over_texture(&mut self, tex: Option<Texture>)
[src]
pub fn get_over_texture(&self) -> Option<Texture>
[src]
pub fn set_fill_mode(&mut self, mode: i64)
[src]
pub fn get_fill_mode(&mut self) -> i64
[src]
pub fn set_radial_initial_angle(&mut self, mode: f64)
[src]
pub fn get_radial_initial_angle(&mut self) -> f64
[src]
pub fn set_radial_center_offset(&mut self, mode: Vector2)
[src]
pub fn get_radial_center_offset(&mut self) -> Vector2
[src]
pub fn set_fill_degrees(&mut self, mode: f64)
[src]
pub fn get_fill_degrees(&mut self) -> f64
[src]
pub fn set_stretch_margin(&mut self, margin: i64, value: i64)
[src]
pub fn get_stretch_margin(&self, margin: i64) -> i64
[src]
pub fn set_nine_patch_stretch(&mut self, stretch: bool)
[src]
pub fn get_nine_patch_stretch(&self) -> bool
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for TextureProgress
[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 TextureProgress
[src]
type Target = Range
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.