Struct rust_animation::actor::Actor [−][src]
pub struct Actor<'a> {}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: boolImplementations
pub fn apply_translation_x_animation(
&mut self,
from_value: i32,
to_value: i32,
by_value: i32
)
pub fn apply_translation_y_animation(
&mut self,
from_value: i32,
to_value: i32,
by_value: i32
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Actor<'a>
impl<'a> !UnwindSafe for Actor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value as a parameter of self.