Struct rust_raylib::ffi::Music
source · #[repr(C)]pub struct Music {
pub stream: AudioStream,
pub frameCount: c_uint,
pub looping: bool,
pub ctxType: c_int,
pub ctxData: *mut c_void,
}Expand description
Music, audio stream, anything longer than ~10 seconds should be streamed
Fields§
§stream: AudioStreamAudio stream
frameCount: c_uintTotal number of frames (considering channels)
looping: boolMusic looping enable
ctxType: c_intType of music context (audio filetype)
ctxData: *mut c_voidAudio context data, depends on type
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Music
impl !Send for Music
impl !Sync for Music
impl Unpin for Music
impl UnwindSafe for Music
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