[][src]Struct vulkayes_core::descriptor::sampler::Sampler

pub struct Sampler { /* fields omitted */ }

Implementations

impl Sampler[src]

pub fn new(
    device: Vrc<Device>,
    create_info: SamplerCreateInfo,
    host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, SamplerError>
[src]

pub unsafe fn from_create_info(
    device: Vrc<Device>,
    create_info: impl Deref<Target = SamplerCreateInfo>,
    host_memory_allocator: HostMemoryAllocator
) -> Result<Vrc<Self>, SamplerError>
[src]

pub const fn device(&self) -> &Vrc<Device>[src]

Methods from Deref<Target = Sampler>

Trait Implementations

impl Borrow<Sampler> for Sampler[src]

impl Debug for Sampler[src]

impl Deref for Sampler[src]

type Target = Sampler

The resulting type after dereferencing.

impl Drop for Sampler[src]

impl Eq for Sampler[src]

impl HasHandle<Sampler> for Sampler[src]

impl Hash for Sampler[src]

impl Ord for Sampler[src]

impl PartialEq<Sampler> for Sampler[src]

impl PartialOrd<Sampler> for Sampler[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.