[][src]Function xcb::base::cast_error

pub unsafe 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.