Struct ash::vk::enums::SamplerAddressMode
source · #[repr(transparent)]pub struct SamplerAddressMode(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl SamplerAddressMode
impl SamplerAddressMode
pub const REPEAT: Self = _
pub const MIRRORED_REPEAT: Self = _
pub const CLAMP_TO_EDGE: Self = _
pub const CLAMP_TO_BORDER: Self = _
source§impl SamplerAddressMode
impl SamplerAddressMode
Generated from ‘VK_KHR_sampler_mirror_clamp_to_edge’
sourcepub const MIRROR_CLAMP_TO_EDGE: Self = _
pub const MIRROR_CLAMP_TO_EDGE: Self = _
Note that this defines what was previously a core enum, and so uses the ‘value’ attribute rather than ‘offset’, and does not have a suffix. This is a special case, and should not be repeated
Trait Implementations§
source§impl Clone for SamplerAddressMode
impl Clone for SamplerAddressMode
source§fn clone(&self) -> SamplerAddressMode
fn clone(&self) -> SamplerAddressMode
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 Debug for SamplerAddressMode
impl Debug for SamplerAddressMode
source§impl Default for SamplerAddressMode
impl Default for SamplerAddressMode
source§fn default() -> SamplerAddressMode
fn default() -> SamplerAddressMode
Returns the “default value” for a type. Read more
source§impl Hash for SamplerAddressMode
impl Hash for SamplerAddressMode
source§impl Ord for SamplerAddressMode
impl Ord for SamplerAddressMode
source§fn cmp(&self, other: &SamplerAddressMode) -> Ordering
fn cmp(&self, other: &SamplerAddressMode) -> 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 SamplerAddressMode
impl PartialEq for SamplerAddressMode
source§impl PartialOrd for SamplerAddressMode
impl PartialOrd for SamplerAddressMode
impl Copy for SamplerAddressMode
impl Eq for SamplerAddressMode
impl StructuralPartialEq for SamplerAddressMode
Auto Trait Implementations§
impl Freeze for SamplerAddressMode
impl RefUnwindSafe for SamplerAddressMode
impl Send for SamplerAddressMode
impl Sync for SamplerAddressMode
impl Unpin for SamplerAddressMode
impl UnwindSafe for SamplerAddressMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)