Struct editeur::sprite::texel::Texel
[−]
[src]
pub struct Texel { /* fields omitted */ }Methods
impl Texel[src]
fn new(part: &str, glyph: char) -> Result<Self>
fn get_part(&self) -> &Part
The accessor method get_part returns the Texel Part.
fn get_glyph(&self) -> char
The accessor method get_glyph returns the Texel Glyph.
fn set_glyph(&mut self, glyph: char)
Trait Implementations
impl Copy for Texel[src]
impl Clone for Texel[src]
fn clone(&self) -> Texel
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
impl Debug for Texel[src]
impl Default for Texel[src]
impl PartialEq for Texel[src]
fn eq(&self, rhs: &Texel) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.