pub struct SamplerCreateFlags(_);Expand description
Implementations
sourceimpl SamplerCreateFlags
impl SamplerCreateFlags
pub const fn empty() -> SamplerCreateFlags
pub const fn from_raw(x: u32) -> SamplerCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SamplerCreateFlags) -> bool
sourcepub const fn contains(self, other: SamplerCreateFlags) -> bool
pub const fn contains(self, other: SamplerCreateFlags) -> bool
Returns whether other is a subset of self
sourceimpl SamplerCreateFlags
impl SamplerCreateFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const SUBSAMPLED_EXT: SamplerCreateFlags = Self(1)
pub const SUBSAMPLED_COARSE_RECONSTRUCTION_EXT: SamplerCreateFlags = Self(2)
sourceimpl SamplerCreateFlags
impl SamplerCreateFlags
Generated from ‘VK_AMD_extension_317’
pub const RESERVED_3_AMD: SamplerCreateFlags = Self(8)
sourceimpl SamplerCreateFlags
impl SamplerCreateFlags
Generated from ‘VK_EXT_disable_cube_map_wrap’
pub const RESERVED_2_EXT: SamplerCreateFlags = Self(4)
sourceimpl SamplerCreateFlags
impl SamplerCreateFlags
Generated from ‘VK_QCOM_extension_441’
pub const IMAGE_PROCESSING_QCOM: SamplerCreateFlags = Self(16)
Trait Implementations
sourceimpl BitAnd<SamplerCreateFlags> for SamplerCreateFlags
impl BitAnd<SamplerCreateFlags> for SamplerCreateFlags
type Output = SamplerCreateFlags
type Output = SamplerCreateFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
fn bitand(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SamplerCreateFlags> for SamplerCreateFlags
impl BitAndAssign<SamplerCreateFlags> for SamplerCreateFlags
sourcefn bitand_assign(&mut self, rhs: SamplerCreateFlags)
fn bitand_assign(&mut self, rhs: SamplerCreateFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SamplerCreateFlags> for SamplerCreateFlags
impl BitOr<SamplerCreateFlags> for SamplerCreateFlags
type Output = SamplerCreateFlags
type Output = SamplerCreateFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
fn bitor(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SamplerCreateFlags> for SamplerCreateFlags
impl BitOrAssign<SamplerCreateFlags> for SamplerCreateFlags
sourcefn bitor_assign(&mut self, rhs: SamplerCreateFlags)
fn bitor_assign(&mut self, rhs: SamplerCreateFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SamplerCreateFlags> for SamplerCreateFlags
impl BitXor<SamplerCreateFlags> for SamplerCreateFlags
type Output = SamplerCreateFlags
type Output = SamplerCreateFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
fn bitxor(self, rhs: SamplerCreateFlags) -> SamplerCreateFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SamplerCreateFlags> for SamplerCreateFlags
impl BitXorAssign<SamplerCreateFlags> for SamplerCreateFlags
sourcefn bitxor_assign(&mut self, rhs: SamplerCreateFlags)
fn bitxor_assign(&mut self, rhs: SamplerCreateFlags)
Performs the
^= operation. Read moresourceimpl Clone for SamplerCreateFlags
impl Clone for SamplerCreateFlags
sourcefn clone(&self) -> SamplerCreateFlags
fn clone(&self) -> SamplerCreateFlags
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SamplerCreateFlags
impl Debug for SamplerCreateFlags
sourceimpl Default for SamplerCreateFlags
impl Default for SamplerCreateFlags
sourcefn default() -> SamplerCreateFlags
fn default() -> SamplerCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SamplerCreateFlags
impl Hash for SamplerCreateFlags
sourceimpl Not for SamplerCreateFlags
impl Not for SamplerCreateFlags
type Output = SamplerCreateFlags
type Output = SamplerCreateFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SamplerCreateFlags
fn not(self) -> SamplerCreateFlags
Performs the unary
! operation. Read moresourceimpl Ord for SamplerCreateFlags
impl Ord for SamplerCreateFlags
sourcefn cmp(&self, other: &SamplerCreateFlags) -> Ordering
fn cmp(&self, other: &SamplerCreateFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SamplerCreateFlags> for SamplerCreateFlags
impl PartialEq<SamplerCreateFlags> for SamplerCreateFlags
sourcefn eq(&self, other: &SamplerCreateFlags) -> bool
fn eq(&self, other: &SamplerCreateFlags) -> bool
sourceimpl PartialOrd<SamplerCreateFlags> for SamplerCreateFlags
impl PartialOrd<SamplerCreateFlags> for SamplerCreateFlags
sourcefn partial_cmp(&self, other: &SamplerCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerCreateFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for SamplerCreateFlags
impl Eq for SamplerCreateFlags
impl StructuralEq for SamplerCreateFlags
impl StructuralPartialEq for SamplerCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for SamplerCreateFlags
impl Send for SamplerCreateFlags
impl Sync for SamplerCreateFlags
impl Unpin for SamplerCreateFlags
impl UnwindSafe for SamplerCreateFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more