pub struct ObjectPropEvents {Show 36 fields
pub patno: IntEvent,
pub x: IntEvent,
pub y: IntEvent,
pub z: IntEvent,
pub center_x: IntEvent,
pub center_y: IntEvent,
pub center_z: IntEvent,
pub center_rep_x: IntEvent,
pub center_rep_y: IntEvent,
pub center_rep_z: IntEvent,
pub scale_x: IntEvent,
pub scale_y: IntEvent,
pub scale_z: IntEvent,
pub rotate_x: IntEvent,
pub rotate_y: IntEvent,
pub rotate_z: IntEvent,
pub clip_left: IntEvent,
pub clip_top: IntEvent,
pub clip_right: IntEvent,
pub clip_bottom: IntEvent,
pub src_clip_left: IntEvent,
pub src_clip_top: IntEvent,
pub src_clip_right: IntEvent,
pub src_clip_bottom: IntEvent,
pub tr: IntEvent,
pub mono: IntEvent,
pub reverse: IntEvent,
pub bright: IntEvent,
pub dark: IntEvent,
pub color_r: IntEvent,
pub color_g: IntEvent,
pub color_b: IntEvent,
pub color_rate: IntEvent,
pub color_add_r: IntEvent,
pub color_add_g: IntEvent,
pub color_add_b: IntEvent,
}Fields§
§patno: IntEvent§x: IntEvent§y: IntEvent§z: IntEvent§center_x: IntEvent§center_y: IntEvent§center_z: IntEvent§center_rep_x: IntEvent§center_rep_y: IntEvent§center_rep_z: IntEvent§scale_x: IntEvent§scale_y: IntEvent§scale_z: IntEvent§rotate_x: IntEvent§rotate_y: IntEvent§rotate_z: IntEvent§clip_left: IntEvent§clip_top: IntEvent§clip_right: IntEvent§clip_bottom: IntEvent§src_clip_left: IntEvent§src_clip_top: IntEvent§src_clip_right: IntEvent§src_clip_bottom: IntEvent§tr: IntEvent§mono: IntEvent§reverse: IntEvent§bright: IntEvent§dark: IntEvent§color_r: IntEvent§color_g: IntEvent§color_b: IntEvent§color_rate: IntEvent§color_add_r: IntEvent§color_add_g: IntEvent§color_add_b: IntEventImplementations§
Source§impl ObjectPropEvents
impl ObjectPropEvents
pub fn clear(&mut self)
pub fn update_time(&mut self, past_game_time: i32, past_real_time: i32)
pub fn frame(&mut self)
pub fn tick(&mut self, delta: i32)
pub fn any_active(&self) -> bool
pub fn end_all(&mut self)
pub fn get(&self, target: ObjectEventTarget) -> Option<&IntEvent>
pub fn get_mut(&mut self, target: ObjectEventTarget) -> Option<&mut IntEvent>
Trait Implementations§
Source§impl Clone for ObjectPropEvents
impl Clone for ObjectPropEvents
Source§fn clone(&self) -> ObjectPropEvents
fn clone(&self) -> ObjectPropEvents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectPropEvents
impl Debug for ObjectPropEvents
Auto Trait Implementations§
impl Freeze for ObjectPropEvents
impl RefUnwindSafe for ObjectPropEvents
impl Send for ObjectPropEvents
impl Sync for ObjectPropEvents
impl Unpin for ObjectPropEvents
impl UnsafeUnpin for ObjectPropEvents
impl UnwindSafe for ObjectPropEvents
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.