Struct gltile::Tile
[−]
[src]
pub struct Tile<P: PixLike> { pub fg: Rgb, pub bg: Rgb, pub pix: P, }
Fields
fg: Rgb
bg: Rgb
pix: P
Methods
impl<P> Tile<P> where
P: PixLike,
[src]
P: PixLike,
Trait Implementations
impl<P: Clone + PixLike> Clone for Tile<P>
[src]
fn clone(&self) -> Tile<P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more