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: String
md5ext: Option<String>
asset_id: String
rotation_center_x: f64
Center of this costume with coordinates local to the image.
rotation_center_y: f64
bitmap_resolution: f64
Trait Implementations
impl<'de> Deserialize<'de> for Costume
[src]
impl<'de> Deserialize<'de> for Costume
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Costume
impl RefUnwindSafe for Costume
impl UnwindSafe for Costume
impl UnwindSafe for Costume
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]