Enum neko::graphic::DrawError
[−]
pub enum DrawError { OutOfSize(String), }
The enum DrawError
defines the possible errors
from constructor Position.
Variants
OutOfSize(String)
Trait Implementations
impl Debug for DrawError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for DrawError
fn clone(&self) -> DrawError
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 Display for DrawError
fn fmt(&self, &mut Formatter) -> Result<(), Error>
The function fmt
formats the value using
the given formatter.
impl Error for DrawError
fn description(&self) -> &str
The function description
returns a short description of
the error.
fn cause(&self) -> Option<&Error>
The function cause
returns the lower-level cause of
this error if any.