[][src]Struct ash_tray::vk_helper::Sampler

pub struct Sampler<T: Clone>(_);

Methods

impl<T: Clone> Sampler<T>[src]

pub fn new(
    device: &Device<T>,
    create_info: &SamplerCreateInfo,
    user: T
) -> VkResult<Self>
[src]

Trait Implementations

impl<T: Clone> Clone for Sampler<T>[src]

impl<T: Clone> Deref for Sampler<T>[src]

type Target = RcSampler<T>

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> !Send for Sampler<T>

impl<T> Unpin for Sampler<T>

impl<T> !Sync for Sampler<T>

impl<T> !UnwindSafe for Sampler<T>

impl<T> !RefUnwindSafe for Sampler<T>

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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]