Struct rasterize::ImageOwned [−][src]
pub struct ImageOwned<P> { /* fields omitted */ }
Implementations
impl<P> ImageOwned<P>
[src]
impl<P> ImageOwned<P>
[src]Trait Implementations
impl<P: Clone> Clone for ImageOwned<P>
[src]
impl<P: Clone> Clone for ImageOwned<P>
[src]fn clone(&self) -> ImageOwned<P>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P> Image for ImageOwned<P>
[src]
impl<P> Image for ImageOwned<P>
[src]type Pixel = P
Pixel type
fn shape(&self) -> Shape
[src]
fn data(&self) -> &[Self::Pixel]
[src]
fn size(&self) -> Size
[src]
fn width(&self) -> usize
[src]
fn height(&self) -> usize
[src]
fn get(&self, row: usize, col: usize) -> Option<&Self::Pixel>
[src]
fn as_ref(&self) -> ImageRef<'_, Self::Pixel>
[src]
fn iter(&self) -> ImageIter<'_, Self::Pixel>ⓘ
[src]
fn write_ppm<W>(&self, out: W) -> Result<(), Error> where
W: Write,
Self::Pixel: Color,
Self: Sized,
[src]
W: Write,
Self::Pixel: Color,
Self: Sized,
fn write_bmp<W>(&self, out: W) -> Result<(), Error> where
W: Write,
Self::Pixel: Color,
Self: Sized,
[src]
W: Write,
Self::Pixel: Color,
Self: Sized,
impl<C> ImageMut for ImageOwned<C>
[src]
impl<C> ImageMut for ImageOwned<C>
[src]fn data_mut(&mut self) -> &mut [Self::Pixel]
[src]
fn get_mut(&mut self, row: usize, col: usize) -> Option<&mut Self::Pixel>
[src]
fn as_mut(&mut self) -> ImageMutRef<'_, Self::Pixel>
[src]
fn clear(&mut self) where
Self::Pixel: Default,
[src]
Self::Pixel: Default,
fn iter_mut(&mut self) -> ImageMutIter<'_, Self::Pixel>ⓘNotable traits for ImageMutIter<'a, P>
impl<'a, P> Iterator for ImageMutIter<'a, P> type Item = &'a mut P;
[src]
Notable traits for ImageMutIter<'a, P>
impl<'a, P> Iterator for ImageMutIter<'a, P> type Item = &'a mut P;
Auto Trait Implementations
impl<P> RefUnwindSafe for ImageOwned<P> where
P: RefUnwindSafe,
impl<P> RefUnwindSafe for ImageOwned<P> where
P: RefUnwindSafe,
impl<P> Send for ImageOwned<P> where
P: Send,
impl<P> Send for ImageOwned<P> where
P: Send,
impl<P> Sync for ImageOwned<P> where
P: Sync,
impl<P> Sync for ImageOwned<P> where
P: Sync,
impl<P> Unpin for ImageOwned<P> where
P: Unpin,
impl<P> Unpin for ImageOwned<P> where
P: Unpin,
impl<P> UnwindSafe for ImageOwned<P> where
P: UnwindSafe,
impl<P> UnwindSafe for ImageOwned<P> where
P: UnwindSafe,