#[repr(C)]pub struct ImageDrmFormatModifierExplicitCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub drm_format_modifier: u64,
pub drm_format_modifier_plane_count: u32,
pub p_plane_layouts: *const SubresourceLayout,
}Expand description
Fields
s_type: StructureTypep_next: *const c_voiddrm_format_modifier: u64drm_format_modifier_plane_count: u32p_plane_layouts: *const SubresourceLayoutImplementations
sourceimpl ImageDrmFormatModifierExplicitCreateInfoEXT
impl ImageDrmFormatModifierExplicitCreateInfoEXT
pub fn builder<'a>() -> ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a>
Trait Implementations
sourceimpl Clone for ImageDrmFormatModifierExplicitCreateInfoEXT
impl Clone for ImageDrmFormatModifierExplicitCreateInfoEXT
sourcepub fn clone(&self) -> ImageDrmFormatModifierExplicitCreateInfoEXT
pub fn clone(&self) -> ImageDrmFormatModifierExplicitCreateInfoEXT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for ImageDrmFormatModifierExplicitCreateInfoEXT
impl Default for ImageDrmFormatModifierExplicitCreateInfoEXT
sourcepub fn default() -> ImageDrmFormatModifierExplicitCreateInfoEXT
pub fn default() -> ImageDrmFormatModifierExplicitCreateInfoEXT
Returns the “default value” for a type. Read more
impl Copy for ImageDrmFormatModifierExplicitCreateInfoEXT
impl ExtendsImageCreateInfo for ImageDrmFormatModifierExplicitCreateInfoEXT
Auto Trait Implementations
impl RefUnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXT
impl !Send for ImageDrmFormatModifierExplicitCreateInfoEXT
impl !Sync for ImageDrmFormatModifierExplicitCreateInfoEXT
impl Unpin for ImageDrmFormatModifierExplicitCreateInfoEXT
impl UnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more