Struct metafactory::error::ArgTypeMismatch
[-]
[+]
[src]
pub struct ArgTypeMismatch { pub expected_type: TypeDef, pub argument_index: uint, }
Argument type did not match expected type.
Fields
expected_type | |
argument_index |
Methods
impl ArgTypeMismatch
fn new(expected_type: TypeDef, argument_index: uint) -> ArgTypeMismatch
Convenience method for creating new ArgTypeMismatch
.