pub struct VideoImageFormat { /* private fields */ }Expand description
One Vulkan-video-compatible image representation without Vulkan types.
Implementations§
Source§impl VideoImageFormat
impl VideoImageFormat
Sourcepub const fn pixel_format(self) -> VideoPixelFormat
pub const fn pixel_format(self) -> VideoPixelFormat
Return the semantic plane and component layout.
Sourcepub const fn optimal_tiling(self) -> bool
pub const fn optimal_tiling(self) -> bool
Return whether the device requires or supports optimal image tiling here.
Sourcepub const fn storage(self) -> bool
pub const fn storage(self) -> bool
Return whether the reported image usage includes storage access.
Sourcepub const fn transfer_source(self) -> bool
pub const fn transfer_source(self) -> bool
Return whether the reported image usage includes transfer-source access.
Sourcepub const fn transfer_destination(self) -> bool
pub const fn transfer_destination(self) -> bool
Return whether the reported image usage includes transfer-destination access.
Trait Implementations§
Source§impl Clone for VideoImageFormat
impl Clone for VideoImageFormat
impl Copy for VideoImageFormat
Source§impl Debug for VideoImageFormat
impl Debug for VideoImageFormat
impl Eq for VideoImageFormat
Source§impl PartialEq for VideoImageFormat
impl PartialEq for VideoImageFormat
impl StructuralPartialEq for VideoImageFormat
Auto Trait Implementations§
impl Forget for VideoImageFormat
impl Freeze for VideoImageFormat
impl Move for VideoImageFormat
impl RefUnwindSafe for VideoImageFormat
impl Send for VideoImageFormat
impl Sync for VideoImageFormat
impl Unpin for VideoImageFormat
impl UnsafeUnpin for VideoImageFormat
impl UnwindSafe for VideoImageFormat
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