Struct scratch_file::Costume[][src]

pub struct Costume {
    pub name: String,
    pub md5ext: Option<String>,
    pub asset_id: String,
    pub rotation_center_x: f64,
    pub rotation_center_y: f64,
    pub bitmap_resolution: f64,
}

Sprite costume

Fields

name: Stringmd5ext: Option<String>asset_id: Stringrotation_center_x: f64

Center of this costume with coordinates local to the image.

rotation_center_y: f64bitmap_resolution: f64

Trait Implementations

impl Clone for Costume[src]

impl Debug for Costume[src]

impl Default for Costume[src]

impl<'de> Deserialize<'de> for Costume[src]

impl Hash for Costume[src]

impl PartialEq<Costume> for Costume[src]

impl Serialize for Costume[src]

Auto Trait Implementations

impl RefUnwindSafe for Costume

impl Send for Costume

impl Sync for Costume

impl Unpin for Costume

impl UnwindSafe for Costume

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