Struct libocc::EventContent[][src]

pub struct EventContent<'a, T> where
    T: Clone + PartialEq
{ /* fields omitted */ }

The Event struct usually is part of a list of events called an “event log”. Each event represents an atomic change in an entity (including its creation or destruction). Every event log only contains one entity type: Two entity types should have two separate event logs.

Trait Implementations

impl<'a, T: Clone> Clone for EventContent<'a, T> where
    T: Clone + PartialEq
[src]

impl<'a, T: Debug> Debug for EventContent<'a, T> where
    T: Clone + PartialEq
[src]

impl<'de, 'a, T> Deserialize<'de> for EventContent<'a, T> where
    T: Clone + PartialEq,
    T: Deserialize<'de>, 
[src]

impl<'a, T: PartialEq> PartialEq<EventContent<'a, T>> for EventContent<'a, T> where
    T: Clone + PartialEq
[src]

impl<'a, T> Serialize for EventContent<'a, T> where
    T: Clone + PartialEq,
    T: Serialize
[src]

impl<'a, T> StructuralPartialEq for EventContent<'a, T> where
    T: Clone + PartialEq
[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for EventContent<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for EventContent<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for EventContent<'a, T> where
    T: Sync

impl<'a, T> Unpin for EventContent<'a, T> where
    T: Unpin

impl<'a, T> UnwindSafe for EventContent<'a, T> where
    T: RefUnwindSafe + UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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.