Struct e2rcore::implement::render::texture::Texture
[−]
[src]
pub struct Texture {
pub _data: Vec<(Channel, u8)>,
pub _dim: Vec<usize>,
pub _channels: HashMap<Channel, usize>,
}Fields
_data: Vec<(Channel, u8)>
_dim: Vec<usize>
_channels: HashMap<Channel, usize>
Methods
impl Texture[src]
fn from<T: GenericImage>(img_buffer: &T) -> Texture[src]
Trait Implementations
impl Clone for Texture[src]
fn clone(&self) -> Texture[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more