#[repr(C)]pub struct SamplerBorderColorComponentMappingCreateInfoEXT {
pub s_type: StructureType,
pub p_next: *const c_void,
pub components: ComponentMapping,
pub srgb: u32,
}Expand description
VkSamplerBorderColorComponentMappingCreateInfoEXT
Provided by VK_EXT_border_color_swizzle.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT.
p_next: *const c_voidOptional, may be null.
components: ComponentMapping§srgb: u32Implementations§
Source§impl SamplerBorderColorComponentMappingCreateInfoEXT
impl SamplerBorderColorComponentMappingCreateInfoEXT
Sourcepub fn builder<'a>() -> SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
pub fn builder<'a>() -> SamplerBorderColorComponentMappingCreateInfoEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SamplerBorderColorComponentMappingCreateInfoEXT
impl Clone for SamplerBorderColorComponentMappingCreateInfoEXT
Source§fn clone(&self) -> SamplerBorderColorComponentMappingCreateInfoEXT
fn clone(&self) -> SamplerBorderColorComponentMappingCreateInfoEXT
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 Default for SamplerBorderColorComponentMappingCreateInfoEXT
impl Default for SamplerBorderColorComponentMappingCreateInfoEXT
Source§fn default() -> SamplerBorderColorComponentMappingCreateInfoEXT
fn default() -> SamplerBorderColorComponentMappingCreateInfoEXT
Returns the “default value” for a type. Read more
impl Copy for SamplerBorderColorComponentMappingCreateInfoEXT
impl ExtendsSamplerCreateInfo for SamplerBorderColorComponentMappingCreateInfoEXT
Auto Trait Implementations§
impl Freeze for SamplerBorderColorComponentMappingCreateInfoEXT
impl RefUnwindSafe for SamplerBorderColorComponentMappingCreateInfoEXT
impl !Send for SamplerBorderColorComponentMappingCreateInfoEXT
impl !Sync for SamplerBorderColorComponentMappingCreateInfoEXT
impl Unpin for SamplerBorderColorComponentMappingCreateInfoEXT
impl UnsafeUnpin for SamplerBorderColorComponentMappingCreateInfoEXT
impl UnwindSafe for SamplerBorderColorComponentMappingCreateInfoEXT
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