Struct tiled::Image [] [src]

pub struct Image {
    pub source: String,
    pub width: i32,
    pub height: i32,
    pub transparent_colour: Option<Colour>,
}

Fields

source: String

The filepath of the image

width: i32 height: i32 transparent_colour: Option<Colour>

Trait Implementations

impl Eq for Image
[src]

impl PartialEq for Image
[src]

fn eq(&self, __arg_0: &Image) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Image) -> bool

This method tests for !=.

impl Debug for Image
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.