pub struct SamplerAddressMode(/* private fields */);
Expand description
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
pub const MIRROR_CLAMP_TO_EDGE_KHR: Self = Self::MIRROR_CLAMP_TO_EDGE
👎Deprecated: Alias introduced for consistency with extension suffixing rules
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 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
)