Struct gltile::Tile [] [src]

pub struct Tile<P: PixLike> {
    pub fg: Rgb,
    pub bg: Rgb,
    pub pix: P,
}

Fields

Methods

impl<P> Tile<P> where
    P: PixLike
[src]

Trait Implementations

impl<P: Clone + PixLike> Clone for Tile<P>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Copy + PixLike> Copy for Tile<P>
[src]

impl<P: Debug + PixLike> Debug for Tile<P>
[src]

Formats the value using the given formatter.

impl<P: Default + PixLike> Default for Tile<P>
[src]

Returns the "default value" for a type. Read more