Trait Fetch

Source
pub trait Fetch<Coords> {
    type Output;

    // Required method
    fn fetch(&self, coords: Coords) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn fetch(&self, coords: Coords) -> Self::Output

Implementations on Foreign Types§

Source§

impl Fetch<UVec2> for Image<f32, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }>

Source§

type Output = Vec4

Source§

fn fetch(&self, coords: UVec2) -> Self::Output

Source§

impl Fetch<UVec2> for Image<f32, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }>

Source§

type Output = Vec4

Source§

fn fetch(&self, coords: UVec2) -> Self::Output

Implementors§

Source§

impl Fetch<UVec2> for ConstTexture

Source§

impl<P, Container> Fetch<UVec2> for CpuTexture2d<P, Container>
where P: Pixel, Container: Deref<Target = [P::Subpixel]>,