pub struct SamplerReductionMode(/* private fields */);Expand description
Implementations§
Source§impl SamplerReductionMode
impl SamplerReductionMode
pub const WEIGHTED_AVERAGE: SamplerReductionMode
pub const MIN: SamplerReductionMode
pub const MAX: SamplerReductionMode
pub const WEIGHTED_AVERAGE_RANGECLAMP: SamplerReductionMode
pub const fn from_raw(value: i32) -> SamplerReductionMode
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for SamplerReductionMode
impl Clone for SamplerReductionMode
Source§fn clone(&self) -> SamplerReductionMode
fn clone(&self) -> SamplerReductionMode
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 Debug for SamplerReductionMode
impl Debug for SamplerReductionMode
Source§impl Default for SamplerReductionMode
impl Default for SamplerReductionMode
Source§fn default() -> SamplerReductionMode
fn default() -> SamplerReductionMode
Returns the “default value” for a type. Read more
Source§impl Display for SamplerReductionMode
impl Display for SamplerReductionMode
Source§impl Error for SamplerReductionMode
impl Error for SamplerReductionMode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for SamplerReductionMode
impl Hash for SamplerReductionMode
Source§impl Ord for SamplerReductionMode
impl Ord for SamplerReductionMode
Source§fn cmp(&self, other: &SamplerReductionMode) -> Ordering
fn cmp(&self, other: &SamplerReductionMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SamplerReductionMode
impl PartialEq for SamplerReductionMode
Source§impl PartialOrd for SamplerReductionMode
impl PartialOrd for SamplerReductionMode
impl Copy for SamplerReductionMode
impl Eq for SamplerReductionMode
impl StructuralPartialEq for SamplerReductionMode
Auto Trait Implementations§
impl Freeze for SamplerReductionMode
impl RefUnwindSafe for SamplerReductionMode
impl Send for SamplerReductionMode
impl Sync for SamplerReductionMode
impl Unpin for SamplerReductionMode
impl UnsafeUnpin for SamplerReductionMode
impl UnwindSafe for SamplerReductionMode
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