Struct winit::os::unix::x11::ffi::OpenError
[−]
[src]
pub struct OpenError { /* fields omitted */ }
Methods
impl OpenError
[src]
pub fn detail(&self) -> &str
[src]
pub fn kind(&self) -> OpenErrorKind
[src]
pub fn new(kind: OpenErrorKind, detail: String) -> OpenError
[src]
Trait Implementations
impl Debug for OpenError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for OpenError
[src]
fn clone(&self) -> OpenError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for OpenError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for OpenError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<OpenError> for XNotSupported
[src]
fn from(err: OpenError) -> XNotSupported
[src]
Performs the conversion.