[][src]Struct wgpu::SamplerDescriptor

#[repr(C)]pub struct SamplerDescriptor {
    pub address_mode_u: AddressMode,
    pub address_mode_v: AddressMode,
    pub address_mode_w: AddressMode,
    pub mag_filter: FilterMode,
    pub min_filter: FilterMode,
    pub mipmap_filter: FilterMode,
    pub lod_min_clamp: f32,
    pub lod_max_clamp: f32,
    pub compare: CompareFunction,


address_mode_u: AddressModeaddress_mode_v: AddressModeaddress_mode_w: AddressModemag_filter: FilterModemin_filter: FilterModemipmap_filter: FilterModelod_min_clamp: f32lod_max_clamp: f32compare: CompareFunction

Trait Implementations

impl Clone for SamplerDescriptor[src]

impl Debug for SamplerDescriptor[src]

impl PartialEq<SamplerDescriptor> for SamplerDescriptor[src]

impl StructuralPartialEq for SamplerDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.