| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait to inspect an image."><meta name="keywords" content="rust, rustlang, rust-lang, GenericImageView"><title>GenericImageView in image - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../image/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../image/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">GenericImageView</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.InnerImageView">InnerImageView</a></li><li><a href="#associatedtype.Pixel">Pixel</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.bounds">bounds</a></li><li><a href="#tymethod.dimensions">dimensions</a></li><li><a href="#tymethod.get_pixel">get_pixel</a></li><li><a href="#tymethod.inner">inner</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.height">height</a></li><li><a href="#method.in_bounds">in_bounds</a></li><li><a href="#method.pixels">pixels</a></li><li><a href="#method.unsafe_get_pixel">unsafe_get_pixel</a></li><li><a href="#method.view">view</a></li><li><a href="#method.width">width</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In image</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="index.html">image</a>::<wbr><a class="trait" href="#">GenericImageView</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/image/image.rs.html#725-803">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait GenericImageView { |
| type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a>: <a class="trait" href="trait.Pixel.html" title="trait image::Pixel">Pixel</a>; |
| type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a>: <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a><Pixel = Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a>>; |
| |
| fn <a href="#tymethod.dimensions" class="fnname">dimensions</a>(&self) -> (u32, u32); |
| <span class="item-spacer"></span> fn <a href="#tymethod.bounds" class="fnname">bounds</a>(&self) -> (u32, u32, u32, u32); |
| <span class="item-spacer"></span> fn <a href="#tymethod.get_pixel" class="fnname">get_pixel</a>(&self, x: u32, y: u32) -> Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a>; |
| <span class="item-spacer"></span> fn <a href="#tymethod.inner" class="fnname">inner</a>(&self) -> &Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.InnerImageView" title="type image::GenericImageView::InnerImageView">InnerImageView</a>; |
| |
| fn <a href="#method.width" class="fnname">width</a>(&self) -> u32 { ... } |
| <span class="item-spacer"></span> fn <a href="#method.height" class="fnname">height</a>(&self) -> u32 { ... } |
| <span class="item-spacer"></span> fn <a href="#method.in_bounds" class="fnname">in_bounds</a>(&self, x: u32, y: u32) -> bool { ... } |
| <span class="item-spacer"></span> unsafe fn <a href="#method.unsafe_get_pixel" class="fnname">unsafe_get_pixel</a>(&self, x: u32, y: u32) -> Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a> { ... } |
| <span class="item-spacer"></span> fn <a href="#method.pixels" class="fnname">pixels</a>(&self) -> <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'_, Self><span class="notable-traits"><span class="notable-traits-tooltip">ⓘ<span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'a, I></span><code class="content"><span class="where fmt-newline">impl<'a, I: <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a>> Iterator for <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'a, I></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = (u32, u32, I::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a>);</span></code></span></span></span></span> { ... } |
| <span class="item-spacer"></span> fn <a href="#method.view" class="fnname">view</a>(<br> &self,<br> x: u32,<br> y: u32,<br> width: u32,<br> height: u32<br> ) -> <a class="struct" href="struct.SubImage.html" title="struct image::SubImage">SubImage</a><&Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.InnerImageView" title="type image::GenericImageView::InnerImageView">InnerImageView</a>> { ... } |
| }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait to inspect an image.</p> |
| </div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="associatedtype.Pixel" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#727">source</a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a>: <a class="trait" href="trait.Pixel.html" title="trait image::Pixel">Pixel</a></h4></section></summary><div class="docblock"><p>The type of pixel.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="associatedtype.InnerImageView" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#732">source</a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a>: <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a><Pixel = Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a>></h4></section></summary><div class="docblock"><p>Underlying image type. This is mainly used by SubImages in order to |
| always have a reference to the original image. This allows for less |
| indirections and it eases the use of nested SubImages.</p> |
| </div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.dimensions" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#735">source</a><h4 class="code-header">fn <a href="#tymethod.dimensions" class="fnname">dimensions</a>(&self) -> (u32, u32)</h4></section></summary><div class="docblock"><p>The width and height of this image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.bounds" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#750">source</a><h4 class="code-header">fn <a href="#tymethod.bounds" class="fnname">bounds</a>(&self) -> (u32, u32, u32, u32)</h4></section></summary><div class="docblock"><p>The bounding rectangle of this image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.get_pixel" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#765">source</a><h4 class="code-header">fn <a href="#tymethod.get_pixel" class="fnname">get_pixel</a>(&self, x: u32, y: u32) -> Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a></h4></section></summary><div class="docblock"><p>Returns the pixel located at (x, y). Indexed from top left.</p> |
| <h5 id="panics"><a href="#panics">Panics</a></h5> |
| <p>Panics if <code>(x, y)</code> is out of bounds.</p> |
| <p>TODO: change this signature to &P</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.inner" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#795">source</a><h4 class="code-header">fn <a href="#tymethod.inner" class="fnname">inner</a>(&self) -> &Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.InnerImageView" title="type image::GenericImageView::InnerImageView">InnerImageView</a></h4></section></summary><div class="docblock"><p>Returns a reference to the underlying image.</p> |
| </div></details></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.width" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#738-741">source</a><h4 class="code-header">fn <a href="#method.width" class="fnname">width</a>(&self) -> u32</h4></section></summary><div class="docblock"><p>The width of this image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.height" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#744-747">source</a><h4 class="code-header">fn <a href="#method.height" class="fnname">height</a>(&self) -> u32</h4></section></summary><div class="docblock"><p>The height of this image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.in_bounds" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#753-756">source</a><h4 class="code-header">fn <a href="#method.in_bounds" class="fnname">in_bounds</a>(&self, x: u32, y: u32) -> bool</h4></section></summary><div class="docblock"><p>Returns true if this x, y coordinate is contained inside the image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.unsafe_get_pixel" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#775-777">source</a><h4 class="code-header">unsafe fn <a href="#method.unsafe_get_pixel" class="fnname">unsafe_get_pixel</a>(&self, x: u32, y: u32) -> Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a></h4></section></summary><div class="docblock"><p>Returns the pixel located at (x, y). Indexed from top left.</p> |
| <p>This function can be implemented in a way that ignores bounds checking.</p> |
| <h5 id="safety"><a href="#safety">Safety</a></h5> |
| <p>The coordinates must be <a href="#method.in_bounds"><code>in_bounds</code></a> of the image.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pixels" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#782-792">source</a><h4 class="code-header">fn <a href="#method.pixels" class="fnname">pixels</a>(&self) -> <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'_, Self><span class="notable-traits"><span class="notable-traits-tooltip">ⓘ<span class="notable-traits-tooltiptext"><span class="docblock"><span class="notable">Notable traits for <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'a, I></span><code class="content"><span class="where fmt-newline">impl<'a, I: <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a>> Iterator for <a class="struct" href="struct.Pixels.html" title="struct image::Pixels">Pixels</a><'a, I></span><span class="where fmt-newline"> type <a class="associatedtype">Item</a> = (u32, u32, I::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a>);</span></code></span></span></span></span></h4></section></summary><div class="docblock"><p>Returns an Iterator over the pixels of this image. |
| The iterator yields the coordinates of each pixel |
| along with their value</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.view" class="method has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#800-802">source</a><h4 class="code-header">fn <a href="#method.view" class="fnname">view</a>(<br> &self,<br> x: u32,<br> y: u32,<br> width: u32,<br> height: u32<br>) -> <a class="struct" href="struct.SubImage.html" title="struct image::SubImage">SubImage</a><&Self::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.InnerImageView" title="type image::GenericImageView::InnerImageView">InnerImageView</a>></h4></section></summary><div class="docblock"><p>Returns an subimage that is an immutable view into this image. |
| You can use <a href="trait.GenericImage.html#method.sub_image" title="GenericImage::sub_image"><code>GenericImage::sub_image</code></a> if you need a mutable view instead. |
| The coordinates set the position of the top left corner of the view.</p> |
| </div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-GenericImageView-for-DynamicImage" class="impl has-srclink"><a class="srclink rightside" href="../src/image/dynimage.rs.html#1040-1059">source</a><a href="#impl-GenericImageView-for-DynamicImage" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> for <a class="enum" href="enum.DynamicImage.html" title="enum image::DynamicImage">DynamicImage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Pixel-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pixel-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a> = <a class="struct" href="struct.Rgba.html" title="struct image::Rgba">Rgba</a><u8></h4></section><section id="associatedtype.InnerImageView-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.InnerImageView-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a> = <a class="enum" href="enum.DynamicImage.html" title="enum image::DynamicImage">DynamicImage</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-GenericImageView-for-View%3CBuffer%2C%20P%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/image/flat.rs.html#1312-1355">source</a><a href="#impl-GenericImageView-for-View%3CBuffer%2C%20P%3E" class="anchor"></a><h3 class="code-header">impl<Buffer, P: <a class="trait" href="trait.Pixel.html" title="trait image::Pixel">Pixel</a>> <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> for <a class="struct" href="flat/struct.View.html" title="struct image::flat::View">View</a><Buffer, P><span class="where fmt-newline">where<br> Buffer: AsRef<[P::<a class="associatedtype" href="trait.Pixel.html#associatedtype.Subpixel" title="type image::Pixel::Subpixel">Subpixel</a>]>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Pixel-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pixel-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a> = P</h4></section><section id="associatedtype.InnerImageView-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.InnerImageView-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a> = <a class="struct" href="flat/struct.View.html" title="struct image::flat::View">View</a><Buffer, P></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-GenericImageView-for-ViewMut%3CBuffer%2C%20P%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/image/flat.rs.html#1357-1400">source</a><a href="#impl-GenericImageView-for-ViewMut%3CBuffer%2C%20P%3E" class="anchor"></a><h3 class="code-header">impl<Buffer, P: <a class="trait" href="trait.Pixel.html" title="trait image::Pixel">Pixel</a>> <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> for <a class="struct" href="flat/struct.ViewMut.html" title="struct image::flat::ViewMut">ViewMut</a><Buffer, P><span class="where fmt-newline">where<br> Buffer: AsMut<[P::<a class="associatedtype" href="trait.Pixel.html#associatedtype.Subpixel" title="type image::Pixel::Subpixel">Subpixel</a>]> + AsRef<[P::<a class="associatedtype" href="trait.Pixel.html#associatedtype.Subpixel" title="type image::Pixel::Subpixel">Subpixel</a>]>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Pixel-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pixel-3" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a> = P</h4></section><section id="associatedtype.InnerImageView-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.InnerImageView-3" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a> = <a class="struct" href="flat/struct.ViewMut.html" title="struct image::flat::ViewMut">ViewMut</a><Buffer, P></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-GenericImageView-for-SubImage%3CI%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/image/image.rs.html#1000-1029">source</a><a href="#impl-GenericImageView-for-SubImage%3CI%3E" class="anchor"></a><h3 class="code-header">impl<I> <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> for <a class="struct" href="struct.SubImage.html" title="struct image::SubImage">SubImage</a><I><span class="where fmt-newline">where<br> I: Deref,<br> I::Target: <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> + Sized,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Pixel-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pixel-4" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a> = <<I as Deref>::Target as <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a>>::<a class="associatedtype" href="trait.GenericImageView.html#associatedtype.Pixel" title="type image::GenericImageView::Pixel">Pixel</a></h4></section><section id="associatedtype.InnerImageView-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.InnerImageView-4" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a> = <I as Deref>::Target</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-GenericImageView-for-ImageBuffer%3CP%2C%20Container%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/image/buffer.rs.html#1020-1051">source</a><a href="#impl-GenericImageView-for-ImageBuffer%3CP%2C%20Container%3E" class="anchor"></a><h3 class="code-header">impl<P, Container> <a class="trait" href="trait.GenericImageView.html" title="trait image::GenericImageView">GenericImageView</a> for <a class="struct" href="struct.ImageBuffer.html" title="struct image::ImageBuffer">ImageBuffer</a><P, Container><span class="where fmt-newline">where<br> P: <a class="trait" href="trait.Pixel.html" title="trait image::Pixel">Pixel</a> + 'static,<br> Container: Deref<Target = [P::<a class="associatedtype" href="trait.Pixel.html#associatedtype.Subpixel" title="type image::Pixel::Subpixel">Subpixel</a>]> + Deref,<br> P::<a class="associatedtype" href="trait.Pixel.html#associatedtype.Subpixel" title="type image::Pixel::Subpixel">Subpixel</a>: 'static,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Pixel-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Pixel-5" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Pixel" class="associatedtype">Pixel</a> = P</h4></section><section id="associatedtype.InnerImageView-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.InnerImageView-5" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.InnerImageView" class="associatedtype">InnerImageView</a> = <a class="struct" href="struct.ImageBuffer.html" title="struct image::ImageBuffer">ImageBuffer</a><P, Container></h4></section></div></details></div><script src="../implementors/image/image/trait.GenericImageView.js" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="image" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html> |