#[repr(C)]pub struct CPacketTypeInfo {
pub type_discriminant: CPacketType,
pub audio_format: *const CAudioFormat,
pub custom_type_id: *const c_char,
}Expand description
Full packet type with optional format information For RawAudio, includes the audio format details
Fields§
§type_discriminant: CPacketType§audio_format: *const CAudioFormatFor RawAudio: pointer to CAudioFormat, otherwise null
custom_type_id: *const c_charFor Custom: pointer to a null-terminated type id string, otherwise null
Trait Implementations§
Source§impl Clone for CPacketTypeInfo
impl Clone for CPacketTypeInfo
Source§fn clone(&self) -> CPacketTypeInfo
fn clone(&self) -> CPacketTypeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CPacketTypeInfo
impl Debug for CPacketTypeInfo
impl Copy for CPacketTypeInfo
Auto Trait Implementations§
impl Freeze for CPacketTypeInfo
impl RefUnwindSafe for CPacketTypeInfo
impl !Send for CPacketTypeInfo
impl !Sync for CPacketTypeInfo
impl Unpin for CPacketTypeInfo
impl UnwindSafe for CPacketTypeInfo
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