#[repr(transparent)]pub struct PhysicalDeviceImageFormatInfo2Builder<'b> { /* private fields */ }
Expand description
A builder for a PhysicalDeviceImageFormatInfo2
.
Implementations§
source§impl<'b> PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> PhysicalDeviceImageFormatInfo2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsPhysicalDeviceImageFormatInfo2,
pub fn format(self, format: Format) -> Self
pub fn type_(self, type_: ImageType) -> Self
pub fn tiling(self, tiling: ImageTiling) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn build(self) -> PhysicalDeviceImageFormatInfo2
Trait Implementations§
source§impl<'b> Cast for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Cast for PhysicalDeviceImageFormatInfo2Builder<'b>
§type Target = PhysicalDeviceImageFormatInfo2
type Target = PhysicalDeviceImageFormatInfo2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Clone for PhysicalDeviceImageFormatInfo2Builder<'b>
source§fn clone(&self) -> PhysicalDeviceImageFormatInfo2Builder<'b>
fn clone(&self) -> PhysicalDeviceImageFormatInfo2Builder<'b>
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 moresource§impl<'b> Debug for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Debug for PhysicalDeviceImageFormatInfo2Builder<'b>
source§impl<'b> Default for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Default for PhysicalDeviceImageFormatInfo2Builder<'b>
source§fn default() -> PhysicalDeviceImageFormatInfo2Builder<'b>
fn default() -> PhysicalDeviceImageFormatInfo2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Deref for PhysicalDeviceImageFormatInfo2Builder<'b>
source§impl<'b> DerefMut for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> DerefMut for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Copy for PhysicalDeviceImageFormatInfo2Builder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> !Send for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> !Sync for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> Unpin for PhysicalDeviceImageFormatInfo2Builder<'b>
impl<'b> UnwindSafe for PhysicalDeviceImageFormatInfo2Builder<'b>
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