#[repr(C)]pub struct WGPUSamplerDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub addressModeU: WGPUAddressMode,
pub addressModeV: WGPUAddressMode,
pub addressModeW: WGPUAddressMode,
pub magFilter: WGPUFilterMode,
pub minFilter: WGPUFilterMode,
pub mipmapFilter: WGPUMipmapFilterMode,
pub lodMinClamp: f32,
pub lodMaxClamp: f32,
pub compare: WGPUCompareFunction,
pub maxAnisotropy: u16,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§addressModeU: WGPUAddressMode§addressModeV: WGPUAddressMode§addressModeW: WGPUAddressMode§magFilter: WGPUFilterMode§minFilter: WGPUFilterMode§mipmapFilter: WGPUMipmapFilterMode§lodMinClamp: f32§lodMaxClamp: f32§compare: WGPUCompareFunction§maxAnisotropy: u16Trait Implementations§
Source§impl Clone for WGPUSamplerDescriptor
impl Clone for WGPUSamplerDescriptor
Source§fn clone(&self) -> WGPUSamplerDescriptor
fn clone(&self) -> WGPUSamplerDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WGPUSamplerDescriptor
Source§impl Debug for WGPUSamplerDescriptor
impl Debug for WGPUSamplerDescriptor
Source§impl Default for WGPUSamplerDescriptor
impl Default for WGPUSamplerDescriptor
Source§impl PartialEq for WGPUSamplerDescriptor
impl PartialEq for WGPUSamplerDescriptor
Source§impl PartialOrd for WGPUSamplerDescriptor
impl PartialOrd for WGPUSamplerDescriptor
impl StructuralPartialEq for WGPUSamplerDescriptor
Auto Trait Implementations§
impl !Send for WGPUSamplerDescriptor
impl !Sync for WGPUSamplerDescriptor
impl Freeze for WGPUSamplerDescriptor
impl RefUnwindSafe for WGPUSamplerDescriptor
impl Unpin for WGPUSamplerDescriptor
impl UnsafeUnpin 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