#[repr(C)]pub enum AddressingMode {
NoneType = 4_400,
ClampToEdge = 4_401,
Clamp = 4_402,
Repeat = 4_403,
MirroredRepeat = 4_404,
}
Variants§
Trait Implementations§
Source§impl Clone for AddressingMode
impl Clone for AddressingMode
Source§fn clone(&self) -> AddressingMode
fn clone(&self) -> AddressingMode
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 AddressingMode
impl Debug for AddressingMode
Source§impl From<&AddressingMode> for cl_addressing_mode
impl From<&AddressingMode> for cl_addressing_mode
Source§fn from(source_value: &AddressingMode) -> cl_addressing_mode
fn from(source_value: &AddressingMode) -> cl_addressing_mode
Converts to this type from the input type.
Source§impl From<AddressingMode> for cl_addressing_mode
impl From<AddressingMode> for cl_addressing_mode
Source§fn from(source_value: AddressingMode) -> cl_addressing_mode
fn from(source_value: AddressingMode) -> cl_addressing_mode
Converts to this type from the input type.
Source§impl From<u32> for AddressingMode
impl From<u32> for AddressingMode
Source§fn from(dest_value: cl_addressing_mode) -> AddressingMode
fn from(dest_value: cl_addressing_mode) -> AddressingMode
Converts to this type from the input type.
Source§impl Hash for AddressingMode
impl Hash for AddressingMode
Source§impl PartialEq for AddressingMode
impl PartialEq for AddressingMode
Source§impl PartialOrd for AddressingMode
impl PartialOrd for AddressingMode
impl Copy for AddressingMode
impl Eq for AddressingMode
impl StructuralPartialEq for AddressingMode
Auto Trait Implementations§
impl Freeze for AddressingMode
impl RefUnwindSafe for AddressingMode
impl Send for AddressingMode
impl Sync for AddressingMode
impl Unpin for AddressingMode
impl UnwindSafe for AddressingMode
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