Function xcb::base::cast_error
[−]
[src]
pub fn cast_error<'r, T>(error: &'r GenericError) -> &'r T
Casts the generic error to the right error. Assumes that the given error is really the correct type.