Enum mosaic::TileSetError [−][src]
pub enum TileSetError { OutOfRange, TileNotFound, }
Possible errors from TileSet
operations.
Variants
OutOfRange
The tile position to register was outside the tilesheet bounds.
TileNotFound
Tile not found.
Trait Implementations
impl Debug for TileSetError
[src]
impl Debug for TileSetError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TileSetError
[src]
impl Clone for TileSetError
fn clone(&self) -> TileSetError
[src]
fn clone(&self) -> TileSetError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TileSetError
[src]
impl Copy for TileSetError
impl Display for TileSetError
[src]
impl Display for TileSetError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for TileSetError
[src]
impl Error for TileSetError
Auto Trait Implementations
impl Send for TileSetError
impl Send for TileSetError
impl Sync for TileSetError
impl Sync for TileSetError