pub struct DefineSound {
pub id: u16,
pub sound_type: SoundType,
pub sound_size: SoundSize,
pub sound_rate: SoundRate,
pub format: AudioCodingFormat,
pub sample_count: u32,
pub data: Vec<u8>,
}
Fields§
§id: u16
§sound_type: SoundType
§sound_size: SoundSize
§sound_rate: SoundRate
§format: AudioCodingFormat
§sample_count: u32
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for DefineSound
impl Clone for DefineSound
Source§fn clone(&self) -> DefineSound
fn clone(&self) -> DefineSound
Returns a copy 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 DefineSound
impl Debug for DefineSound
Source§impl<'de> Deserialize<'de> for DefineSound
impl<'de> Deserialize<'de> for DefineSound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DefineSound
impl Hash for DefineSound
Source§impl Ord for DefineSound
impl Ord for DefineSound
Source§fn cmp(&self, other: &DefineSound) -> Ordering
fn cmp(&self, other: &DefineSound) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefineSound
impl PartialEq for DefineSound
Source§impl PartialOrd for DefineSound
impl PartialOrd for DefineSound
Source§impl Serialize for DefineSound
impl Serialize for DefineSound
impl Eq for DefineSound
impl StructuralPartialEq for DefineSound
Auto Trait Implementations§
impl Freeze for DefineSound
impl RefUnwindSafe for DefineSound
impl Send for DefineSound
impl Sync for DefineSound
impl Unpin for DefineSound
impl UnwindSafe for DefineSound
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