#[repr(C)]pub struct ExternalFormatOHOS {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub external_format: u64,
}Expand description
VkExternalFormatOHOS
Provided by VK_OHOS_external_memory.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS.
p_next: *mut c_voidOptional, may be null.
external_format: u64Implementations§
Source§impl ExternalFormatOHOS
impl ExternalFormatOHOS
Sourcepub fn builder<'a>() -> ExternalFormatOHOSBuilder<'a>
pub fn builder<'a>() -> ExternalFormatOHOSBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ExternalFormatOHOS
impl Clone for ExternalFormatOHOS
Source§fn clone(&self) -> ExternalFormatOHOS
fn clone(&self) -> ExternalFormatOHOS
Returns a duplicate 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 ExternalFormatOHOS
impl Debug for ExternalFormatOHOS
Source§impl Default for ExternalFormatOHOS
impl Default for ExternalFormatOHOS
impl Copy for ExternalFormatOHOS
impl ExtendsAttachmentDescription2 for ExternalFormatOHOS
impl ExtendsCommandBufferInheritanceInfo for ExternalFormatOHOS
impl ExtendsGraphicsPipelineCreateInfo for ExternalFormatOHOS
impl ExtendsImageCreateInfo for ExternalFormatOHOS
impl ExtendsSamplerYcbcrConversionCreateInfo for ExternalFormatOHOS
Auto Trait Implementations§
impl Freeze for ExternalFormatOHOS
impl RefUnwindSafe for ExternalFormatOHOS
impl !Send for ExternalFormatOHOS
impl !Sync for ExternalFormatOHOS
impl Unpin for ExternalFormatOHOS
impl UnsafeUnpin for ExternalFormatOHOS
impl UnwindSafe for ExternalFormatOHOS
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