Struct fann::FannError
[−]
[src]
pub struct FannError { pub error_type: FannErrorType, pub error_str: String, }
Fields
error_type: FannErrorType
error_str: String
Methods
impl FannError
[src]
unsafe fn check_no_error(errdat: *mut fann_error) -> FannResult<()>
Returns an Err
if the previous operation on errdat
has resulted in an error, otherwise
Ok(())
.
unsafe fn check_zero(result: c_int, errdat: *mut fann_error, error_str: &str) -> FannResult<()>
Trait Implementations
impl PartialEq for FannError
[src]
fn eq(&self, __arg_0: &FannError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FannError) -> bool
This method tests for !=
.
impl Eq for FannError
[src]
impl Debug for FannError
[src]
impl Clone for FannError
[src]
fn clone(&self) -> FannError
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