pub trait Texture1dDataSource<'a> {
type Data: Send + Copy + Clone + 'a;
// Required method
fn into_raw(self) -> RawImage1d<'a, Self::Data>;
}Expand description
Trait that describes data for a one-dimensional texture.
Required Associated Types§
Required Methods§
Sourcefn into_raw(self) -> RawImage1d<'a, Self::Data>
fn into_raw(self) -> RawImage1d<'a, Self::Data>
Returns the raw representation of the data.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".