Enum sciter::graphics::GRAPHIN_RESULT
source · [−]#[repr(C)]
pub enum GRAPHIN_RESULT {
PANIC,
OK,
BAD_PARAM,
FAILURE,
NOTSUPPORTED,
}
Expand description
Type of the result value for Sciter Graphics functions.
Variants
PANIC
E.g. not enough memory.
OK
Success.
BAD_PARAM
Bad parameter.
FAILURE
Operation failed, e.g. restore()
without save()
.
NOTSUPPORTED
Platform does not support the requested feature.
Trait Implementations
sourceimpl Debug for GRAPHIN_RESULT
impl Debug for GRAPHIN_RESULT
sourceimpl Display for GRAPHIN_RESULT
impl Display for GRAPHIN_RESULT
sourceimpl Error for GRAPHIN_RESULT
impl Error for GRAPHIN_RESULT
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<GRAPHIN_RESULT> for GRAPHIN_RESULT
impl PartialEq<GRAPHIN_RESULT> for GRAPHIN_RESULT
impl StructuralPartialEq for GRAPHIN_RESULT
Auto Trait Implementations
impl RefUnwindSafe for GRAPHIN_RESULT
impl Send for GRAPHIN_RESULT
impl Sync for GRAPHIN_RESULT
impl Unpin for GRAPHIN_RESULT
impl UnwindSafe for GRAPHIN_RESULT
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more