#[repr(C)]pub struct WGPUSamplerDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub addressModeU: c_int,
pub addressModeV: c_int,
pub addressModeW: c_int,
pub magFilter: c_int,
pub minFilter: c_int,
pub mipmapFilter: c_int,
pub lodMinClamp: f32,
pub lodMaxClamp: f32,
pub compare: c_int,
pub maxAnisotropy: u16,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§addressModeU: c_int§addressModeV: c_int§addressModeW: c_int§magFilter: c_int§minFilter: c_int§mipmapFilter: c_int§lodMinClamp: f32§lodMaxClamp: f32§compare: c_int§maxAnisotropy: u16Trait Implementations§
Source§impl Clone for WGPUSamplerDescriptor
impl Clone for WGPUSamplerDescriptor
Source§fn clone(&self) -> WGPUSamplerDescriptor
fn clone(&self) -> WGPUSamplerDescriptor
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 WGPUSamplerDescriptor
impl Debug for WGPUSamplerDescriptor
impl Copy for WGPUSamplerDescriptor
Auto Trait Implementations§
impl Freeze for WGPUSamplerDescriptor
impl RefUnwindSafe for WGPUSamplerDescriptor
impl !Send for WGPUSamplerDescriptor
impl !Sync for WGPUSamplerDescriptor
impl Unpin for WGPUSamplerDescriptor
impl UnwindSafe for WGPUSamplerDescriptor
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