Struct ash::extensions_generated::ext::calibrated_timestamps::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_EXT_calibrated_timestamps device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn get_calibrated_timestamps(
&self,
info: &[CalibratedTimestampInfoEXT<'_>],
) -> VkResult<(Vec<u64>, u64)>
pub unsafe fn get_calibrated_timestamps( &self, info: &[CalibratedTimestampInfoEXT<'_>], ) -> VkResult<(Vec<u64>, u64)>
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetCalibratedTimestampsEXT.html
Returns a tuple containing (timestamps, max_deviation)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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