Struct rin::gl::Error [−][src]
pub struct Error { /* fields omitted */ }
Implementations
impl Error
[src]
impl Error
[src]pub fn new<'a, S>(kind: ErrorKind, desc: S) -> Error where
S: Into<Option<&'a str>>,
[src]
S: Into<Option<&'a str>>,
pub fn with_gl_code<'a, S>(kind: ErrorKind, desc: S, gl_code: u32) -> Error where
S: Into<Option<&'a str>>,
[src]
S: Into<Option<&'a str>>,
pub fn with_cause<'a, E, S>(kind: ErrorKind, desc: S, cause: E) -> Error where
E: 'static + Error + Send + Sync,
S: Into<Option<&'a str>>,
[src]
E: 'static + Error + Send + Sync,
S: Into<Option<&'a str>>,
pub fn gl_code_description(&self) -> Option<&'static str>
[src]
pub fn kind(&self) -> ErrorKind
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]