Enum steamworks_sys::EVoiceResult
source · #[non_exhaustive]#[repr(u32)]pub enum EVoiceResult {
k_EVoiceResultOK = 0,
k_EVoiceResultNotInitialized = 1,
k_EVoiceResultNotRecording = 2,
k_EVoiceResultNoData = 3,
k_EVoiceResultBufferTooSmall = 4,
k_EVoiceResultDataCorrupted = 5,
k_EVoiceResultRestricted = 6,
k_EVoiceResultUnsupportedCodec = 7,
k_EVoiceResultReceiverOutOfDate = 8,
k_EVoiceResultReceiverDidNotAnswer = 9,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
k_EVoiceResultOK = 0
k_EVoiceResultNotInitialized = 1
k_EVoiceResultNotRecording = 2
k_EVoiceResultNoData = 3
k_EVoiceResultBufferTooSmall = 4
k_EVoiceResultDataCorrupted = 5
k_EVoiceResultRestricted = 6
k_EVoiceResultUnsupportedCodec = 7
k_EVoiceResultReceiverOutOfDate = 8
k_EVoiceResultReceiverDidNotAnswer = 9
Trait Implementations§
source§impl Clone for EVoiceResult
impl Clone for EVoiceResult
source§fn clone(&self) -> EVoiceResult
fn clone(&self) -> EVoiceResult
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 EVoiceResult
impl Debug for EVoiceResult
source§impl Hash for EVoiceResult
impl Hash for EVoiceResult
source§impl PartialEq for EVoiceResult
impl PartialEq for EVoiceResult
source§fn eq(&self, other: &EVoiceResult) -> bool
fn eq(&self, other: &EVoiceResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EVoiceResult
impl Eq for EVoiceResult
impl StructuralPartialEq for EVoiceResult
Auto Trait Implementations§
impl RefUnwindSafe for EVoiceResult
impl Send for EVoiceResult
impl Sync for EVoiceResult
impl Unpin for EVoiceResult
impl UnwindSafe for EVoiceResult
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