Struct gdnative::AudioStreamSample [−][src]
pub struct AudioStreamSample { /* fields omitted */ }
core class AudioStreamSample : AudioStream
(reference counted)
Base class
AudioStreamSample inherits AudioStream and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl AudioStreamSample
[src]
impl AudioStreamSample
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_format(&mut self, format: i64)
[src]
pub fn set_format(&mut self, format: i64)
pub fn set_loop_mode(&mut self, loop_mode: i64)
[src]
pub fn set_loop_mode(&mut self, loop_mode: i64)
pub fn set_loop_begin(&mut self, loop_begin: i64)
[src]
pub fn set_loop_begin(&mut self, loop_begin: i64)
pub fn get_loop_begin(&self) -> i64
[src]
pub fn get_loop_begin(&self) -> i64
pub fn set_loop_end(&mut self, loop_end: i64)
[src]
pub fn set_loop_end(&mut self, loop_end: i64)
pub fn get_loop_end(&self) -> i64
[src]
pub fn get_loop_end(&self) -> i64
pub fn set_mix_rate(&mut self, mix_rate: i64)
[src]
pub fn set_mix_rate(&mut self, mix_rate: i64)
pub fn get_mix_rate(&self) -> i64
[src]
pub fn get_mix_rate(&self) -> i64
pub fn set_stereo(&mut self, stereo: bool)
[src]
pub fn set_stereo(&mut self, stereo: bool)
pub fn is_stereo(&self) -> bool
[src]
pub fn is_stereo(&self) -> bool
pub fn _set_data(&mut self, data: ByteArray)
[src]
pub fn _set_data(&mut self, data: ByteArray)
pub fn _get_data(&self) -> ByteArray
[src]
pub fn _get_data(&self) -> ByteArray
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 AudioStreamSample
[src]
impl GodotObject for AudioStreamSample
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 AudioStreamSample
[src]
impl Deref for AudioStreamSample
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 AudioStreamSample
[src]
impl DerefMut for AudioStreamSample
impl Drop for AudioStreamSample
[src]
impl Drop for AudioStreamSample
Auto Trait Implementations
impl !Send for AudioStreamSample
impl !Send for AudioStreamSample
impl !Sync for AudioStreamSample
impl !Sync for AudioStreamSample