Struct greenglas::image::Image [−][src]
pub struct Image { /* fields omitted */ }
Expand description
The Transformable Data Type Image
Implementations
Create a new Image from a DynamicImage
Create a new Image from RGB style pixel container such as Vec
Create a new Image from RGBa style pixel container such as Vec
Create a new Image from Luma (greyscale) style pixel container such as Vec
Create a new Image from LumaA style pixel container such as Vec
Trait Implementations
Transforms the non-numeric data into a numeric Vec
Transforms non-numeric data into a numeric SharedTensor
Read more
fn write_to_memory<T: NumCast + Copy>(
mem: &mut FlatBox,
data: &[T]
) -> Result<(), TransformerError>
fn write_to_memory<T: NumCast + Copy>(
mem: &mut FlatBox,
data: &[T]
) -> Result<(), TransformerError>
Write into a native Coaster Memory.
fn write_to_memory_offset<T: NumCast + Copy>(
mem: &mut FlatBox,
data: &[T],
offset: usize
) -> Result<(), TransformerError>
fn write_to_memory_offset<T: NumCast + Copy>(
mem: &mut FlatBox,
data: &[T],
offset: usize
) -> Result<(), TransformerError>
Write into a native Coaster Memory with a offset.