Struct vulkanalia::vk::SampleLocationsInfoEXTBuilder
source · #[repr(transparent)]pub struct SampleLocationsInfoEXTBuilder<'b> { /* private fields */ }
Expand description
A builder for a SampleLocationsInfoEXT
.
Implementations§
source§impl<'b> SampleLocationsInfoEXTBuilder<'b>
impl<'b> SampleLocationsInfoEXTBuilder<'b>
pub fn sample_locations_per_pixel( self, sample_locations_per_pixel: SampleCountFlags ) -> Self
pub fn sample_location_grid_size( self, sample_location_grid_size: impl Cast<Target = Extent2D> ) -> Self
pub fn sample_locations( self, sample_locations: &'b [impl Cast<Target = SampleLocationEXT>] ) -> Self
pub fn build(self) -> SampleLocationsInfoEXT
Trait Implementations§
source§impl<'b> Cast for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Cast for SampleLocationsInfoEXTBuilder<'b>
§type Target = SampleLocationsInfoEXT
type Target = SampleLocationsInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Clone for SampleLocationsInfoEXTBuilder<'b>
source§fn clone(&self) -> SampleLocationsInfoEXTBuilder<'b>
fn clone(&self) -> SampleLocationsInfoEXTBuilder<'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 SampleLocationsInfoEXTBuilder<'b>
impl<'b> Debug for SampleLocationsInfoEXTBuilder<'b>
source§impl<'b> Default for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Default for SampleLocationsInfoEXTBuilder<'b>
source§fn default() -> SampleLocationsInfoEXTBuilder<'b>
fn default() -> SampleLocationsInfoEXTBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Deref for SampleLocationsInfoEXTBuilder<'b>
source§impl<'b> DerefMut for SampleLocationsInfoEXTBuilder<'b>
impl<'b> DerefMut for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Copy for SampleLocationsInfoEXTBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for SampleLocationsInfoEXTBuilder<'b>
impl<'b> !Send for SampleLocationsInfoEXTBuilder<'b>
impl<'b> !Sync for SampleLocationsInfoEXTBuilder<'b>
impl<'b> Unpin for SampleLocationsInfoEXTBuilder<'b>
impl<'b> UnwindSafe for SampleLocationsInfoEXTBuilder<'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