pub struct ImageDrmFormatModifier { /* private fields */ }
Expand description
Implementations§
Source§impl ImageDrmFormatModifier
impl ImageDrmFormatModifier
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn get_image_drm_format_modifier_properties(
&self,
image: Image,
properties: &mut ImageDrmFormatModifierPropertiesEXT,
) -> VkResult<()>
pub unsafe fn get_image_drm_format_modifier_properties( &self, image: Image, properties: &mut ImageDrmFormatModifierPropertiesEXT, ) -> VkResult<()>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &ExtImageDrmFormatModifierFn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for ImageDrmFormatModifier
impl Clone for ImageDrmFormatModifier
Source§fn clone(&self) -> ImageDrmFormatModifier
fn clone(&self) -> ImageDrmFormatModifier
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 moreAuto Trait Implementations§
impl Freeze for ImageDrmFormatModifier
impl RefUnwindSafe for ImageDrmFormatModifier
impl Send for ImageDrmFormatModifier
impl Sync for ImageDrmFormatModifier
impl Unpin for ImageDrmFormatModifier
impl UnwindSafe for ImageDrmFormatModifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)