Struct tiled::Colour
[−]
[src]
pub struct Colour { pub red: u8, pub green: u8, pub blue: u8, }
Fields
red: u8
green: u8
blue: u8
Trait Implementations
impl Debug for Colour
[src]
impl PartialEq for Colour
[src]
fn eq(&self, __arg_0: &Colour) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Colour) -> bool
This method tests for !=
.
impl Eq for Colour
[src]
impl FromStr for Colour
[src]
type Err = ParseTileError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Colour, ParseTileError>
Parses a string s
to return a value of this type. Read more