pub struct SfxData { /* private fields */ }
Implementations§
source§impl SfxData
impl SfxData
pub fn new(volume: u4, wave: u4, apreggio: u4, pitch: u4) -> Self
pub fn volume(&self) -> u4
pub fn set_volume(&mut self, value: u4)
pub fn wave(&self) -> u4
pub fn set_wave(&mut self, value: u4)
pub fn apreggio(&self) -> u4
pub fn set_apreggio(&mut self, value: u4)
pub fn pitch(&self) -> u4
pub fn set_pitch(&mut self, value: u4)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SfxData
impl Send for SfxData
impl Sync for SfxData
impl Unpin for SfxData
impl UnwindSafe for SfxData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more