#[repr(i32)]pub enum VoiceDataFormatT {
VoicedataFormatSteam = 0,
VoicedataFormatEngine = 1,
VoicedataFormatOpus = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VoiceDataFormatT
impl Clone for VoiceDataFormatT
Source§fn clone(&self) -> VoiceDataFormatT
fn clone(&self) -> VoiceDataFormatT
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VoiceDataFormatT
impl Debug for VoiceDataFormatT
Source§impl Default for VoiceDataFormatT
impl Default for VoiceDataFormatT
Source§fn default() -> VoiceDataFormatT
fn default() -> VoiceDataFormatT
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceDataFormatT
impl<'de> Deserialize<'de> for VoiceDataFormatT
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 From<VoiceDataFormatT> for i32
impl From<VoiceDataFormatT> for i32
Source§fn from(value: VoiceDataFormatT) -> i32
fn from(value: VoiceDataFormatT) -> i32
Converts to this type from the input type.
Source§impl Hash for VoiceDataFormatT
impl Hash for VoiceDataFormatT
Source§impl Ord for VoiceDataFormatT
impl Ord for VoiceDataFormatT
Source§fn cmp(&self, other: &VoiceDataFormatT) -> Ordering
fn cmp(&self, other: &VoiceDataFormatT) -> Ordering
1.21.0 (const: unstable) · 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 VoiceDataFormatT
impl PartialEq for VoiceDataFormatT
Source§fn eq(&self, other: &VoiceDataFormatT) -> bool
fn eq(&self, other: &VoiceDataFormatT) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VoiceDataFormatT
impl PartialOrd for VoiceDataFormatT
Source§impl Serialize for VoiceDataFormatT
impl Serialize for VoiceDataFormatT
Source§impl TryFrom<i32> for VoiceDataFormatT
impl TryFrom<i32> for VoiceDataFormatT
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<VoiceDataFormatT, UnknownEnumValue>
fn try_from(value: i32) -> Result<VoiceDataFormatT, UnknownEnumValue>
Performs the conversion.
impl Copy for VoiceDataFormatT
impl Eq for VoiceDataFormatT
impl StructuralPartialEq for VoiceDataFormatT
Auto Trait Implementations§
impl Freeze for VoiceDataFormatT
impl RefUnwindSafe for VoiceDataFormatT
impl Send for VoiceDataFormatT
impl Sync for VoiceDataFormatT
impl Unpin for VoiceDataFormatT
impl UnsafeUnpin for VoiceDataFormatT
impl UnwindSafe for VoiceDataFormatT
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