[][src]Struct gltf_json::texture::Sampler

pub struct Sampler {
    pub mag_filter: Option<Checked<MagFilter>>,
    pub min_filter: Option<Checked<MinFilter>>,
    pub wrap_s: Checked<WrappingMode>,
    pub wrap_t: Checked<WrappingMode>,
    pub extensions: Option<Sampler>,
    pub extras: Extras,
}

Texture sampler properties for filtering and wrapping modes.

Fields

mag_filter: Option<Checked<MagFilter>>

Magnification filter.

min_filter: Option<Checked<MinFilter>>

Minification filter.

wrap_s: Checked<WrappingMode>

s wrapping mode.

wrap_t: Checked<WrappingMode>

t wrapping mode.

extensions: Option<Sampler>

Extension specific data.

extras: Extras

Optional application specific data.

Trait Implementations

impl<'a> Get<Sampler> for Root[src]

impl Validate for Sampler[src]

impl Clone for Sampler[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Sampler[src]

impl Debug for Sampler[src]

impl Serialize for Sampler[src]

impl<'de> Deserialize<'de> for Sampler where
    Sampler: Default
[src]

Auto Trait Implementations

impl Sync for Sampler

impl Send for Sampler

impl Unpin for Sampler

impl RefUnwindSafe for Sampler

impl UnwindSafe for Sampler

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]