[][src]Enum amethyst_input::BindingsFileError

pub enum BindingsFileError<T: BindingTypes> {
    ConfigError(ConfigError),
    BindingError(BindingError<T>),
}

An error occurred while loading the bindings file.

Variants

ConfigError(ConfigError)

Problem in amethyst_config

BindingError(BindingError<T>)

Problem with the bindings themselves.

Trait Implementations

impl<T: BindingTypes> From<BindingError<T>> for BindingsFileError<T>[src]

impl<T: BindingTypes> From<ConfigError> for BindingsFileError<T>[src]

impl<T: BindingTypes> Debug for BindingsFileError<T>[src]

impl<T: BindingTypes> Display for BindingsFileError<T> where
    T::Axis: Display,
    T::Action: Display
[src]

impl<T: BindingTypes> Error for BindingsFileError<T> where
    T::Axis: Display,
    T::Action: Display
[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<T> Send for BindingsFileError<T> where
    <T as BindingTypes>::Action: Send,
    <T as BindingTypes>::Axis: Send

impl<T> Sync for BindingsFileError<T> where
    <T as BindingTypes>::Action: Sync,
    <T as BindingTypes>::Axis: Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Any for T where
    T: Any

impl<T> Event for T where
    T: Send + Sync + 'static,