[][src]Struct yy_typings::object_yy::EventIntermediary

pub struct EventIntermediary { /* fields omitted */ }

A simpler, less idiomatic and less understandable, but more direct, representation of Gms2 event types and numbers. We use this internally in the serde of the higher level EventType enum, which is also given.

This struct is made public largely so non-Rust applications downstream can have an easier interface to work with. Rust applications are encouraged to stick with the more idiomatic and user-friendly EventType, which is far more type safe while being equally performant.

Trait Implementations

impl Clone for EventIntermediary[src]

impl Copy for EventIntermediary[src]

impl Debug for EventIntermediary[src]

impl Default for EventIntermediary[src]

fn default() -> Self[src]

Return EventIntermediary { event_type: Default::default(), event_num: Default::default() }

impl<'de> Deserialize<'de> for EventIntermediary[src]

impl Eq for EventIntermediary[src]

impl From<EventType> for EventIntermediary[src]

impl Hash for EventIntermediary[src]

impl Ord for EventIntermediary[src]

impl PartialEq<EventIntermediary> for EventIntermediary[src]

impl PartialOrd<EventIntermediary> for EventIntermediary[src]

impl Serialize for EventIntermediary[src]

impl StructuralEq for EventIntermediary[src]

impl StructuralPartialEq for EventIntermediary[src]

impl TryFrom<EventIntermediary> for EventType[src]

type Error = EventTypeConvertErrors

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,