Struct asteroid::error::AsteroidError
[−]
[src]
pub struct AsteroidError { /* fields omitted */ }
Methods
impl AsteroidError
[src]
fn new(kind: AsteroidErrorKind, msg: &str) -> Self
[src]
Trait Implementations
impl Debug for AsteroidError
[src]
impl PartialEq for AsteroidError
[src]
fn eq(&self, __arg_0: &AsteroidError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AsteroidError) -> bool
[src]
This method tests for !=
.
impl Display for AsteroidError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more