pub trait TiffSample: Clone + 'static {
// Required methods
fn matches_layout(layout: &RasterLayout) -> bool;
fn decode_many(bytes: &[u8]) -> Vec<Self>;
fn type_name() -> &'static str;
}Expand description
Types that can be read directly from a decoded TIFF raster.
Required Methods§
fn matches_layout(layout: &RasterLayout) -> bool
fn decode_many(bytes: &[u8]) -> Vec<Self>
fn type_name() -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.