[][src]Struct bitsy_parser::avatar::Avatar

pub struct Avatar {
    pub animation_frames: Vec<Image>,
    pub room_id: u64,
    pub position: Position,
    pub colour_id: Option<u64>,
}

avatar is a "sprite" in the game data but with a specific id

Fields

animation_frames: Vec<Image>room_id: u64position: Positioncolour_id: Option<u64>

Trait Implementations

impl Debug for Avatar[src]

impl Eq for Avatar[src]

impl From<String> for Avatar[src]

impl PartialEq<Avatar> for Avatar[src]

impl StructuralEq for Avatar[src]

impl StructuralPartialEq for Avatar[src]

impl ToString for Avatar[src]

Auto Trait Implementations

impl RefUnwindSafe for Avatar

impl Send for Avatar

impl Sync for Avatar

impl Unpin for Avatar

impl UnwindSafe for Avatar

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> ToString for T where
    T: Display + ?Sized
[src]

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.