[][src]Struct specs::saveload::SimpleMarker

pub struct SimpleMarker<T: ?Sized>(_, _);

Basic marker implementation usable for saving and loading, uses u64 as identifier

Trait Implementations

impl<T: ?Sized> Clone for SimpleMarker<T>[src]

impl<T: ?Sized> Component for SimpleMarker<T> where
    T: 'static + Send + Sync

type Storage = DenseVecStorage<Self>

Associated storage type for this component.

impl<T: ?Sized> Copy for SimpleMarker<T>[src]

impl<T: ?Sized> Debug for SimpleMarker<T>[src]

impl<'de, T: ?Sized> Deserialize<'de> for SimpleMarker<T>[src]

impl<T: ?Sized> Eq for SimpleMarker<T>[src]

impl<T: ?Sized> Hash for SimpleMarker<T>[src]

impl<T: ?Sized> Marker for SimpleMarker<T> where
    T: 'static + Send + Sync

type Allocator = SimpleMarkerAllocator<T>

Allocator for this Marker

type Identifier = u64

Id of the marker

impl<T: ?Sized> MarkerAllocator<SimpleMarker<T>> for SimpleMarkerAllocator<T> where
    T: 'static + Send + Sync

impl<T: ?Sized> PartialEq<SimpleMarker<T>> for SimpleMarker<T>[src]

impl<T: ?Sized> Serialize for SimpleMarker<T>[src]

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for SimpleMarker<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Send for SimpleMarker<T> where
    T: Send

impl<T: ?Sized> Sync for SimpleMarker<T> where
    T: Sync

impl<T: ?Sized> Unpin for SimpleMarker<T> where
    T: Unpin

impl<T: ?Sized> UnwindSafe for SimpleMarker<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<C, M> ConvertSaveload<M> for C where
    C: Clone + Serialize + DeserializeOwned

type Data = C

(De)Serializable data representation for data type

type Error = NoError

Error may occur during serialization or deserialization of component

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,