Struct libocc::EventContent[][src]

pub struct EventContent<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<T: Clone> Clone for EventContent<T> where
    T: Clone + PartialEq
[src]

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

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

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

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for EventContent<T> where
    T: RefUnwindSafe

impl<T> Send for EventContent<T> where
    T: Send

impl<T> Sync for EventContent<T> where
    T: Sync

impl<T> Unpin for EventContent<T> where
    T: Unpin

impl<T> UnwindSafe for EventContent<T> where
    T: 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.