#[repr(u32)]pub enum SamplerAddressingMode {
None = 0,
ClampToEdge = 1,
Clamp = 2,
Repeat = 3,
RepeatMirrored = 4,
}
Variants§
Implementations§
Source§impl SamplerAddressingMode
impl SamplerAddressingMode
pub fn from(val: u32) -> Option<SamplerAddressingMode>
Trait Implementations§
Source§impl Clone for SamplerAddressingMode
impl Clone for SamplerAddressingMode
Source§fn clone(&self) -> SamplerAddressingMode
fn clone(&self) -> SamplerAddressingMode
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 SamplerAddressingMode
impl Debug for SamplerAddressingMode
Source§impl Hash for SamplerAddressingMode
impl Hash for SamplerAddressingMode
Source§impl PartialEq for SamplerAddressingMode
impl PartialEq for SamplerAddressingMode
impl Copy for SamplerAddressingMode
impl StructuralPartialEq for SamplerAddressingMode
Auto Trait Implementations§
impl Freeze for SamplerAddressingMode
impl RefUnwindSafe for SamplerAddressingMode
impl Send for SamplerAddressingMode
impl Sync for SamplerAddressingMode
impl Unpin for SamplerAddressingMode
impl UnwindSafe for SamplerAddressingMode
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
)