Struct raqote::blitter::TransformedNearestImageShader
source · pub struct TransformedNearestImageShader<'a, 'b, Fetch: PixelFetch> {
image: &'a Image<'b>,
xfm: MatrixFixedPoint,
fetch: PhantomData<Fetch>,
}
Fields§
§image: &'a Image<'b>
§xfm: MatrixFixedPoint
§fetch: PhantomData<Fetch>
Implementations§
source§impl<'a, 'b, Fetch: PixelFetch> TransformedNearestImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch: PixelFetch> TransformedNearestImageShader<'a, 'b, Fetch>
pub fn new( image: &'a Image<'b>, transform: &Transform, ) -> TransformedNearestImageShader<'a, 'b, Fetch>
Trait Implementations§
source§impl<'a, 'b, Fetch: PixelFetch> Shader for TransformedNearestImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch: PixelFetch> Shader for TransformedNearestImageShader<'a, 'b, Fetch>
Auto Trait Implementations§
impl<'a, 'b, Fetch> Freeze for TransformedNearestImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch> RefUnwindSafe for TransformedNearestImageShader<'a, 'b, Fetch>where
Fetch: RefUnwindSafe,
impl<'a, 'b, Fetch> Send for TransformedNearestImageShader<'a, 'b, Fetch>where
Fetch: Send,
impl<'a, 'b, Fetch> Sync for TransformedNearestImageShader<'a, 'b, Fetch>where
Fetch: Sync,
impl<'a, 'b, Fetch> Unpin for TransformedNearestImageShader<'a, 'b, Fetch>where
Fetch: Unpin,
impl<'a, 'b, Fetch> UnwindSafe for TransformedNearestImageShader<'a, 'b, Fetch>where
Fetch: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more