#[repr(C)]pub struct SamplerReductionModeCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub reductionMode: SamplerReductionMode,
}Fields§
§sType: StructureType§pNext: *const c_void§reductionMode: SamplerReductionModeImplementations§
Source§impl SamplerReductionModeCreateInfo
impl SamplerReductionModeCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn reductionMode(self, reductionMode: SamplerReductionMode) -> Self
Trait Implementations§
Source§impl Clone for SamplerReductionModeCreateInfo
impl Clone for SamplerReductionModeCreateInfo
Source§fn clone(&self) -> SamplerReductionModeCreateInfo
fn clone(&self) -> SamplerReductionModeCreateInfo
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 SamplerReductionModeCreateInfo
impl Default for SamplerReductionModeCreateInfo
Source§fn default() -> SamplerReductionModeCreateInfo
fn default() -> SamplerReductionModeCreateInfo
Returns the “default value” for a type. Read more
impl Copy for SamplerReductionModeCreateInfo
Auto Trait Implementations§
impl Freeze for SamplerReductionModeCreateInfo
impl RefUnwindSafe for SamplerReductionModeCreateInfo
impl !Send for SamplerReductionModeCreateInfo
impl !Sync for SamplerReductionModeCreateInfo
impl Unpin for SamplerReductionModeCreateInfo
impl UnwindSafe for SamplerReductionModeCreateInfo
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