Struct openxr_sys::DevicePcmSampleRateStateFB
source · #[repr(C)]pub struct DevicePcmSampleRateStateFB {
pub ty: StructureType,
pub next: *mut c_void,
pub sample_rate: f32,
}
Expand description
See XrDevicePcmSampleRateStateFB - defined by XR_FB_haptic_pcm
Fields§
§ty: StructureType
§next: *mut c_void
§sample_rate: f32
Implementations§
source§impl DevicePcmSampleRateStateFB
impl DevicePcmSampleRateStateFB
pub const TYPE: StructureType = StructureType::DEVICE_PCM_SAMPLE_RATE_STATE_FB
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
source§impl Clone for DevicePcmSampleRateStateFB
impl Clone for DevicePcmSampleRateStateFB
source§fn clone(&self) -> DevicePcmSampleRateStateFB
fn clone(&self) -> DevicePcmSampleRateStateFB
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 DevicePcmSampleRateStateFB
impl Debug for DevicePcmSampleRateStateFB
impl Copy for DevicePcmSampleRateStateFB
Auto Trait Implementations§
impl RefUnwindSafe for DevicePcmSampleRateStateFB
impl !Send for DevicePcmSampleRateStateFB
impl !Sync for DevicePcmSampleRateStateFB
impl Unpin for DevicePcmSampleRateStateFB
impl UnwindSafe for DevicePcmSampleRateStateFB
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