Struct neko::graphic::Texel
[−]
pub struct Texel { /* fields omitted */ }
Methods
impl Texel
fn new(part: &str, glyph: char) -> Result<Texel, TexelError>
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
impl Debug for Texel
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl PartialEq<Texel> for Texel
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) -> bool
1.0.0
This method tests for !=
.
impl Default for Texel
impl Clone for Texel
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