Struct gdnative::AudioStreamRandomPitch [−][src]
pub struct AudioStreamRandomPitch { /* fields omitted */ }
core class AudioStreamRandomPitch : AudioStream
(reference counted)
Base class
AudioStreamRandomPitch inherits AudioStream and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl AudioStreamRandomPitch
[src]
impl AudioStreamRandomPitch
pub fn as_audio_stream(&self) -> AudioStream
[src]
pub fn as_audio_stream(&self) -> AudioStream
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 set_audio_stream(&mut self, stream: Option<AudioStream>)
[src]
pub fn set_audio_stream(&mut self, stream: Option<AudioStream>)
pub fn get_audio_stream(&self) -> Option<AudioStream>
[src]
pub fn get_audio_stream(&self) -> Option<AudioStream>
pub fn set_random_pitch(&mut self, scale: f64)
[src]
pub fn set_random_pitch(&mut self, scale: f64)
pub fn get_random_pitch(&self) -> f64
[src]
pub fn get_random_pitch(&self) -> f64
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = AudioStream>
pub fn as_resource(&self) -> Resource
[src]
pub fn as_resource(&self) -> Resource
Up-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for AudioStreamRandomPitch
[src]
impl GodotObject for AudioStreamRandomPitch
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 AudioStreamRandomPitch
[src]
impl Deref for AudioStreamRandomPitch
type Target = AudioStream
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for AudioStreamRandomPitch
[src]
impl DerefMut for AudioStreamRandomPitch
impl Drop for AudioStreamRandomPitch
[src]
impl Drop for AudioStreamRandomPitch
Auto Trait Implementations
impl !Send for AudioStreamRandomPitch
impl !Send for AudioStreamRandomPitch
impl !Sync for AudioStreamRandomPitch
impl !Sync for AudioStreamRandomPitch