Struct raqote::blitter::TransformedImageShader
source · pub struct TransformedImageShader<'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> TransformedImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch: PixelFetch> TransformedImageShader<'a, 'b, Fetch>
pub fn new( image: &'a Image<'b>, transform: &Transform, ) -> TransformedImageShader<'a, 'b, Fetch>
Trait Implementations§
source§impl<'a, 'b, Fetch: PixelFetch> Shader for TransformedImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch: PixelFetch> Shader for TransformedImageShader<'a, 'b, Fetch>
Auto Trait Implementations§
impl<'a, 'b, Fetch> Freeze for TransformedImageShader<'a, 'b, Fetch>
impl<'a, 'b, Fetch> RefUnwindSafe for TransformedImageShader<'a, 'b, Fetch>where
Fetch: RefUnwindSafe,
impl<'a, 'b, Fetch> Send for TransformedImageShader<'a, 'b, Fetch>where
Fetch: Send,
impl<'a, 'b, Fetch> Sync for TransformedImageShader<'a, 'b, Fetch>where
Fetch: Sync,
impl<'a, 'b, Fetch> Unpin for TransformedImageShader<'a, 'b, Fetch>where
Fetch: Unpin,
impl<'a, 'b, Fetch> UnwindSafe for TransformedImageShader<'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