pub enum EngineSampleRateV2 {
Default30,
SourceDetermined,
CustomHz(u32),
}Expand description
Unreal sample-rate selection without hidden compound values.
Variants§
Default30
bUseDefaultSampleRate=true and no hidden custom rate.
SourceDetermined
bUseDefaultSampleRate=false, CustomSampleRate=0.
CustomHz(u32)
Explicit custom rate in hertz.
Trait Implementations§
Source§impl Clone for EngineSampleRateV2
impl Clone for EngineSampleRateV2
Source§fn clone(&self) -> EngineSampleRateV2
fn clone(&self) -> EngineSampleRateV2
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 moreimpl Copy for EngineSampleRateV2
Source§impl Debug for EngineSampleRateV2
impl Debug for EngineSampleRateV2
Source§impl<'de> Deserialize<'de> for EngineSampleRateV2
impl<'de> Deserialize<'de> for EngineSampleRateV2
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
impl Eq for EngineSampleRateV2
Source§impl Ord for EngineSampleRateV2
impl Ord for EngineSampleRateV2
Source§fn cmp(&self, other: &EngineSampleRateV2) -> Ordering
fn cmp(&self, other: &EngineSampleRateV2) -> 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 EngineSampleRateV2
impl PartialEq for EngineSampleRateV2
Source§impl PartialOrd for EngineSampleRateV2
impl PartialOrd for EngineSampleRateV2
Source§impl Serialize for EngineSampleRateV2
impl Serialize for EngineSampleRateV2
impl StructuralPartialEq for EngineSampleRateV2
Auto Trait Implementations§
impl Freeze for EngineSampleRateV2
impl RefUnwindSafe for EngineSampleRateV2
impl Send for EngineSampleRateV2
impl Sync for EngineSampleRateV2
impl Unpin for EngineSampleRateV2
impl UnsafeUnpin for EngineSampleRateV2
impl UnwindSafe for EngineSampleRateV2
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