pub struct RuntimeRequirements { /* private fields */ }Implementations§
Source§impl RuntimeRequirements
impl RuntimeRequirements
Sourcepub fn presentation(self) -> Self
pub fn presentation(self) -> Self
Require graphics and swapchain readiness.
The builder must also receive the window’s required instance extensions.
Sourcepub fn video_decode(self, profile: VideoDecodeProfile) -> Self
pub fn video_decode(self, profile: VideoDecodeProfile) -> Self
Require support for one exact Vulkan Video decode profile.
Sourcepub fn video_encode(self, profile: VideoEncodeProfile) -> Self
pub fn video_encode(self, profile: VideoEncodeProfile) -> Self
Require device support for one exact Vulkan Video encode profile.
This checks Vulkan capability only. OA encoder-session readiness is a separate runtime capability.
Trait Implementations§
Source§impl Clone for RuntimeRequirements
impl Clone for RuntimeRequirements
Source§impl Debug for RuntimeRequirements
impl Debug for RuntimeRequirements
Source§impl Default for RuntimeRequirements
impl Default for RuntimeRequirements
impl Eq for RuntimeRequirements
Source§impl PartialEq for RuntimeRequirements
impl PartialEq for RuntimeRequirements
impl StructuralPartialEq for RuntimeRequirements
Auto Trait Implementations§
impl Forget for RuntimeRequirements
impl Freeze for RuntimeRequirementswhere
*const u8 is !null: Freeze,
PhantomData<VideoDecodeProfile>: Freeze,
PhantomData<VideoEncodeProfile>: Freeze,
impl Move for RuntimeRequirements
impl RefUnwindSafe for RuntimeRequirements
impl Send for RuntimeRequirementswhere
RawVecInner: Send,
impl Sync for RuntimeRequirementswhere
RawVecInner: Sync,
impl Unpin for RuntimeRequirements
impl UnsafeUnpin for RuntimeRequirementswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<VideoDecodeProfile>: UnsafeUnpin,
PhantomData<VideoEncodeProfile>: UnsafeUnpin,
impl UnwindSafe for RuntimeRequirementswhere
RawVecInner: UnwindSafe,
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