diff --git a/docs/all.html b/docs/all.html deleted file mode 100644 index 8a0e057..0000000 --- a/docs/all.html +++ /dev/null @@ -1,3 +0,0 @@ -List of all items in this crate

[] - - List of all items

Structs

Enums

\ No newline at end of file diff --git a/docs/backend_gilrs/SchemaGilrs.t.html b/docs/backend_gilrs/SchemaGilrs.t.html deleted file mode 100644 index 59cba14..0000000 --- a/docs/backend_gilrs/SchemaGilrs.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to struct.SchemaGilrs.html...

- - - \ No newline at end of file diff --git a/docs/backend_gilrs/index.html b/docs/backend_gilrs/index.html deleted file mode 100644 index be4e7c6..0000000 --- a/docs/backend_gilrs/index.html +++ /dev/null @@ -1,2 +0,0 @@ -prongs::backend_gilrs - Rust

[][src]Module prongs::backend_gilrs

Structs

-
SchemaGilrs
\ No newline at end of file diff --git a/docs/backend_gilrs/sidebar-items.js b/docs/backend_gilrs/sidebar-items.js deleted file mode 100644 index 6659f18..0000000 --- a/docs/backend_gilrs/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({"struct":[["SchemaGilrs",""]]}); \ No newline at end of file diff --git a/docs/backend_gilrs/struct.SchemaGilrs.html b/docs/backend_gilrs/struct.SchemaGilrs.html deleted file mode 100644 index 195e451..0000000 --- a/docs/backend_gilrs/struct.SchemaGilrs.html +++ /dev/null @@ -1,15 +0,0 @@ -prongs::backend_gilrs::SchemaGilrs - Rust

[][src]Struct prongs::backend_gilrs::SchemaGilrs

pub struct SchemaGilrs<TUserAction> where
    TUserAction: Clone + Serialize
{ /* fields omitted */ }

Methods

impl<TUserAction> SchemaGilrs<TUserAction> where
    TUserAction: Clone + Serialize
[src]

Trait Implementations

impl<TUserAction> Serialize for SchemaGilrs<TUserAction> where
    TUserAction: Clone + Serialize,
    TUserAction: Serialize
[src]

impl<'de, TUserAction> Deserialize<'de> for SchemaGilrs<TUserAction> where
    TUserAction: Clone + Serialize,
    TUserAction: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<TUserAction> Send for SchemaGilrs<TUserAction> where
    TUserAction: Send

impl<TUserAction> Sync for SchemaGilrs<TUserAction> where
    TUserAction: Sync

Blanket Implementations

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

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/docs/backend_piston/SchemaPiston.t.html b/docs/backend_piston/SchemaPiston.t.html deleted file mode 100644 index f10006e..0000000 --- a/docs/backend_piston/SchemaPiston.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to struct.SchemaPiston.html...

- - - \ No newline at end of file diff --git a/docs/backend_piston/index.html b/docs/backend_piston/index.html deleted file mode 100644 index 9b25b1b..0000000 --- a/docs/backend_piston/index.html +++ /dev/null @@ -1,2 +0,0 @@ -prongs::backend_piston - Rust

[][src]Module prongs::backend_piston

Structs

-
SchemaPiston
\ No newline at end of file diff --git a/docs/backend_piston/sidebar-items.js b/docs/backend_piston/sidebar-items.js deleted file mode 100644 index 3479c5f..0000000 --- a/docs/backend_piston/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({"struct":[["SchemaPiston",""]]}); \ No newline at end of file diff --git a/docs/backend_piston/struct.SchemaPiston.html b/docs/backend_piston/struct.SchemaPiston.html deleted file mode 100644 index 49d2cff..0000000 --- a/docs/backend_piston/struct.SchemaPiston.html +++ /dev/null @@ -1,15 +0,0 @@ -prongs::backend_piston::SchemaPiston - Rust

[][src]Struct prongs::backend_piston::SchemaPiston

pub struct SchemaPiston<TUserAction> where
    TUserAction: Clone + Serialize
{ /* fields omitted */ }

Methods

impl<TUserAction> SchemaPiston<TUserAction> where
    TUserAction: Clone + Serialize
[src]

Trait Implementations

impl<TUserAction> Serialize for SchemaPiston<TUserAction> where
    TUserAction: Clone + Serialize,
    TUserAction: Serialize
[src]

impl<'de, TUserAction> Deserialize<'de> for SchemaPiston<TUserAction> where
    TUserAction: Clone + Serialize,
    TUserAction: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<TUserAction> Send for SchemaPiston<TUserAction> where
    TUserAction: Send

impl<TUserAction> Sync for SchemaPiston<TUserAction> where
    TUserAction: Sync

Blanket Implementations

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

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 304dbb5..0000000 --- a/docs/index.html +++ /dev/null @@ -1,2 +0,0 @@ -prongs - Rust

[][src]Crate prongs

Modules

-
backend_gilrs
backend_piston
types
\ No newline at end of file diff --git a/docs/sidebar-items.js b/docs/sidebar-items.js deleted file mode 100644 index 5b0c6fa..0000000 --- a/docs/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({"mod":[["backend_gilrs",""],["backend_piston",""],["types",""]]}); \ No newline at end of file diff --git a/docs/types/ButtonState.t.html b/docs/types/ButtonState.t.html deleted file mode 100644 index ea9f8e9..0000000 --- a/docs/types/ButtonState.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to enum.ButtonState.html...

- - - \ No newline at end of file diff --git a/docs/types/InputCause.t.html b/docs/types/InputCause.t.html deleted file mode 100644 index 76564e0..0000000 --- a/docs/types/InputCause.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to enum.InputCause.html...

- - - \ No newline at end of file diff --git a/docs/types/InputTypeFlags.t.html b/docs/types/InputTypeFlags.t.html deleted file mode 100644 index a4cf433..0000000 --- a/docs/types/InputTypeFlags.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to struct.InputTypeFlags.html...

- - - \ No newline at end of file diff --git a/docs/types/ProcessingResult.t.html b/docs/types/ProcessingResult.t.html deleted file mode 100644 index 6d2264e..0000000 --- a/docs/types/ProcessingResult.t.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - -

Redirecting to struct.ProcessingResult.html...

- - - \ No newline at end of file diff --git a/docs/types/enum.ButtonState.html b/docs/types/enum.ButtonState.html deleted file mode 100644 index 961cc75..0000000 --- a/docs/types/enum.ButtonState.html +++ /dev/null @@ -1,25 +0,0 @@ -prongs::types::ButtonState - Rust

[][src]Enum prongs::types::ButtonState

pub enum ButtonState {
-    Pressed,
-    Released,
-}

Describes states a key or button can be in

-

- Variants

-

when key or button is pressed

-

when key or button is released

-

Trait Implementations

impl PartialEq<ButtonState> for ButtonState
[src]

This method tests for !=.

-

impl Eq for ButtonState
[src]

impl Debug for ButtonState
[src]

Auto Trait Implementations

impl Send for ButtonState

impl Sync for ButtonState

Blanket Implementations

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

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

\ No newline at end of file diff --git a/docs/types/enum.InputCause.html b/docs/types/enum.InputCause.html deleted file mode 100644 index f56abb6..0000000 --- a/docs/types/enum.InputCause.html +++ /dev/null @@ -1,26 +0,0 @@ -prongs::types::InputCause - Rust

[][src]Enum prongs::types::InputCause

pub enum InputCause {
-    Button(ButtonState),
-    Axis(u8f64),
-    Motion(f64f64),
-}

Describes the source of input for a ProcessingResult

-

- Variants

-

a key or button as source, with given state

-

an axis set to specific value in range <-1.0, 1.0>

-

a motion source (e.g. mouse) with x, y values

-

Methods

impl InputCause
[src]

Trait Implementations

impl PartialEq<InputCause> for InputCause
[src]

impl Debug for InputCause
[src]

Auto Trait Implementations

impl Send for InputCause

impl Sync for InputCause

Blanket Implementations

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

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

\ No newline at end of file diff --git a/docs/types/index.html b/docs/types/index.html deleted file mode 100644 index eff6157..0000000 --- a/docs/types/index.html +++ /dev/null @@ -1,10 +0,0 @@ -prongs::types - Rust

[][src]Module prongs::types

Structs

-
InputTypeFlags

InputTypeFlags are used to specify what type of input -is to be allowed when in "assignment mode" for event mapping. -This allows the caller to filter out unwanted event types in a -generic way without having to handle the backend implementation details.

-
ProcessingResult

The result of a successful input processing by a Schema

-

Enums

-
ButtonState

Describes states a key or button can be in

-
InputCause

Describes the source of input for a ProcessingResult

-
\ No newline at end of file diff --git a/docs/types/sidebar-items.js b/docs/types/sidebar-items.js deleted file mode 100644 index 1327fa0..0000000 --- a/docs/types/sidebar-items.js +++ /dev/null @@ -1 +0,0 @@ -initSidebarItems({"enum":[["ButtonState","Describes states a key or button can be in"],["InputCause","Describes the source of input for a ProcessingResult"]],"struct":[["InputTypeFlags","InputTypeFlags are used to specify what type of input is to be allowed when in \"assignment mode\" for event mapping. This allows the caller to filter out unwanted event types in a generic way without having to handle the backend implementation details."],["ProcessingResult","The result of a successful input processing by a Schema"]]}); \ No newline at end of file diff --git a/docs/types/struct.InputTypeFlags.html b/docs/types/struct.InputTypeFlags.html deleted file mode 100644 index fc70898..0000000 --- a/docs/types/struct.InputTypeFlags.html +++ /dev/null @@ -1,93 +0,0 @@ -prongs::types::InputTypeFlags - Rust

[]Struct prongs::types::InputTypeFlags

pub struct InputTypeFlags { /* fields omitted */ }

InputTypeFlags are used to specify what type of input -is to be allowed when in "assignment mode" for event mapping. -This allows the caller to filter out unwanted event types in a -generic way without having to handle the backend implementation details.

-

Methods

impl InputTypeFlags

-

Any controller or mouse button including controller "hat" presses

-

-

Any keyboard key

-

-

Any controller axis

-

-

Any mouse movement

-

-

Key or Button combination

-

-

Axis, Key or Button combination

-

-

Anything else (so you can do Any - Other for e.g. disconnect events etc.)

-

-

Any type

-

Returns an empty set of flags.

-

Returns the set containing all flags.

-

Returns the raw value of the flags currently stored.

-

Convert from underlying bit representation, unless that -representation contains bits that do not correspond to a flag.

-

Convert from underlying bit representation, dropping any bits -that do not correspond to flags.

-

Returns true if no flags are currently stored.

-

Returns true if all flags are currently set.

-

Returns true if there are flags common to both self and other.

-

Returns true all of the flags in other are contained within self.

-

Inserts the specified flags in-place.

-

Removes the specified flags in-place.

-

Toggles the specified flags in-place.

-

Inserts or removes the specified flags depending on the passed value.

-

Trait Implementations

impl PartialOrd<InputTypeFlags> for InputTypeFlags

impl Default for InputTypeFlags
[src]

impl Ord for InputTypeFlags

Compares and returns the maximum of two values. Read more

-

Compares and returns the minimum of two values. Read more

-

impl PartialEq<InputTypeFlags> for InputTypeFlags

impl Clone for InputTypeFlags

Performs copy-assignment from source. Read more

-

impl Extend<InputTypeFlags> for InputTypeFlags

impl Copy for InputTypeFlags

impl Eq for InputTypeFlags

impl Octal for InputTypeFlags

impl Binary for InputTypeFlags

impl Debug for InputTypeFlags

impl UpperHex for InputTypeFlags

impl LowerHex for InputTypeFlags

impl Hash for InputTypeFlags

Feeds a slice of this type into the given [Hasher]. Read more

-

impl Sub<InputTypeFlags> for InputTypeFlags

-

The resulting type after applying the - operator.

-

Returns the set difference of the two sets of flags.

-

impl SubAssign<InputTypeFlags> for InputTypeFlags

Disables all flags enabled in the set.

-

impl Not for InputTypeFlags

-

The resulting type after applying the ! operator.

-

Returns the complement of this set of flags.

-

impl BitAnd<InputTypeFlags> for InputTypeFlags

-

The resulting type after applying the & operator.

-

Returns the intersection between the two sets of flags.

-

impl BitOr<InputTypeFlags> for InputTypeFlags

-

The resulting type after applying the | operator.

-

Returns the union of the two sets of flags.

-

impl BitXor<InputTypeFlags> for InputTypeFlags

-

The resulting type after applying the ^ operator.

-

Returns the left flags, but with all the right flags toggled.

-

impl BitAndAssign<InputTypeFlags> for InputTypeFlags

Disables all flags disabled in the set.

-

impl BitOrAssign<InputTypeFlags> for InputTypeFlags

Adds the set of flags.

-

impl BitXorAssign<InputTypeFlags> for InputTypeFlags

Toggles the set of flags.

-

impl FromIterator<InputTypeFlags> for InputTypeFlags

Auto Trait Implementations

impl Send for InputTypeFlags

impl Sync for InputTypeFlags

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

-

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

\ No newline at end of file diff --git a/docs/types/struct.ProcessingResult.html b/docs/types/struct.ProcessingResult.html deleted file mode 100644 index 7f366f6..0000000 --- a/docs/types/struct.ProcessingResult.html +++ /dev/null @@ -1,44 +0,0 @@ -prongs::types::ProcessingResult - Rust

[][src]Struct prongs::types::ProcessingResult

pub struct ProcessingResult<TUserAction> where
    TUserAction: Clone + Serialize
{ - pub action: TUserAction, - pub player_id: Option<usize>, - pub cause: Option<InputCause>, -}

The result of a successful input processing by a Schema

-

- Fields

- -

The user defined action to be performed based on the input event

-
- -

The player_id if assigned to the Schema previously, otherwise None

-
- -

The InputCause of this input, if known. None only if backend implementation is incomplete.

-

Methods

impl<TUserAction> ProcessingResult<TUserAction> where
    TUserAction: Clone + Serialize
[src]

Specifies if the input cause is engaged (pressed or not equal to 0) -NOTE: some input causes are never engaged, e.g. Motion

-

Specifies if the input cause is an axis

-

Reduces the input cause state value to a single f64 -Key or button states are either 0.0 or 1.0 for pressed -Axis value stays same -Motion x, y values are multiplied (x * y)

-

Trait Implementations

impl<TUserAction: PartialEq> PartialEq<ProcessingResult<TUserAction>> for ProcessingResult<TUserAction> where
    TUserAction: Clone + Serialize
[src]

impl<TUserAction: Debug> Debug for ProcessingResult<TUserAction> where
    TUserAction: Clone + Serialize
[src]

Auto Trait Implementations

impl<TUserAction> Send for ProcessingResult<TUserAction> where
    TUserAction: Send

impl<TUserAction> Sync for ProcessingResult<TUserAction> where
    TUserAction: Sync

Blanket Implementations

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

impl<T> From for T
[src]

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

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

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

-
🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

-

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

\ No newline at end of file