Struct rust_animation::actor::Actor[][src]

pub struct Actor<'a> {
Show 14 fields pub name: String, pub x: i32, pub y: i32, pub z: f32, pub width: u32, pub height: u32, pub anchor_x: f32, pub anchor_y: f32, pub scale_x: f32, pub scale_y: f32, pub rotation: i32, pub image_path: String, pub sub_actor_list: Vec<Actor<'a>>, pub animated: bool, // some fields omitted
}

Fields

name: Stringx: i32y: i32z: f32width: u32height: u32anchor_x: f32anchor_y: f32scale_x: f32scale_y: f32rotation: i32image_path: Stringsub_actor_list: Vec<Actor<'a>>animated: bool

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.