[−][src]Enum native_windows_gui::NwgError
Error enums used in the native window gui crate
Variants
InitializationError(String)
Fatal error raised when calling low level winapi functionalities
ControlCreationError(String)
Error raised when creating a control.
MenuCreationError(String)
Error raised when creating a menu.
ResourceCreationError(String)
Error raised when creating a resource.
LayoutCreationError(String)
Error raised when the creation of a layout failed
EventsBinding(String)
Error raised when an event handler could not be bound
FileDialogError(String)
Error raised by the FileDialog object
Error raised by the ImageDecoder feature
BadLocale(String)
Error raised by one of the locale functions
Implementations
impl NwgError
[src]
pub fn initialization<S: Into<String>>(e: S) -> NwgError
[src]
pub fn control_create<S: Into<String>>(e: S) -> NwgError
[src]
pub fn menu_create<S: Into<String>>(e: S) -> NwgError
[src]
pub fn resource_create<S: Into<String>>(e: S) -> NwgError
[src]
pub fn layout_create<S: Into<String>>(e: S) -> NwgError
[src]
pub fn events_binding<S: Into<String>>(e: S) -> NwgError
[src]
pub fn file_dialog<S: Into<String>>(e: S) -> NwgError
[src]
pub fn bad_locale<S: Into<String>>(e: S) -> NwgError
[src]
pub fn image_decoder<S: Into<String>>(code: i32, e: S) -> NwgError
[src]
pub fn no_parent(name: &'static str) -> NwgError
[src]
pub fn no_parent_menu() -> NwgError
[src]
Trait Implementations
impl Clone for NwgError
[src]
impl Debug for NwgError
[src]
impl Display for NwgError
[src]
impl Error for NwgError
[src]
Auto Trait Implementations
impl RefUnwindSafe for NwgError
[src]
impl Send for NwgError
[src]
impl Sync for NwgError
[src]
impl Unpin for NwgError
[src]
impl UnwindSafe for NwgError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,