[][src]Struct nomap::parse::formats::Map

pub struct Map<F: Format> {
    pub entities: Vec<F::Entity>,
}

Representation of a Quake/Half-Life 1 map as a Vec of entities, where the entity type is defined by the format.

Fields

entities: Vec<F::Entity>

Trait Implementations

impl<F: Clone + Format> Clone for Map<F> where
    F::Entity: Clone
[src]

impl<F: Debug + Format> Debug for Map<F> where
    F::Entity: Debug
[src]

impl<F: Default + Format> Default for Map<F> where
    F::Entity: Default
[src]

impl<'i, E, F> Parse<'i, E> for Map<F> where
    E: ParseError<Input<'i>> + Clone,
    F: Format,
    F::Entity: Parse<'i, E>, 
[src]

impl<F: PartialEq + Format> PartialEq<Map<F>> for Map<F> where
    F::Entity: PartialEq
[src]

impl<F: Format> StructuralPartialEq for Map<F>[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Map<F> where
    <F as Format>::Entity: RefUnwindSafe

impl<F> Send for Map<F> where
    <F as Format>::Entity: Send

impl<F> Sync for Map<F> where
    <F as Format>::Entity: Sync

impl<F> Unpin for Map<F> where
    <F as Format>::Entity: Unpin

impl<F> UnwindSafe for Map<F> where
    <F as Format>::Entity: 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> 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.