pub struct ObjectParams {
pub session_id: i32,
pub class_id: i32,
pub x_pos: f32,
pub y_pos: f32,
pub angle: f32,
pub x_vel: f32,
pub y_vel: f32,
pub rotation_speed: f32,
pub acceleration: f32,
pub rotation_acceleration: f32,
}Expand description
A struct containg all parameters of a TUIO Object
Fields§
§session_id: i32§class_id: i32§x_pos: f32§y_pos: f32§angle: f32§x_vel: f32§y_vel: f32§rotation_speed: f32§acceleration: f32§rotation_acceleration: f32Auto Trait Implementations§
impl Freeze for ObjectParams
impl RefUnwindSafe for ObjectParams
impl Send for ObjectParams
impl Sync for ObjectParams
impl Unpin for ObjectParams
impl UnsafeUnpin for ObjectParams
impl UnwindSafe for ObjectParams
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