Struct tuix_internal::VectorEdit [−][src]
pub struct VectorEdit<T> {
pub x: T,
pub y: T,
pub z: T,
pub w: T,
pub num_of_dims: u8,
// some fields omitted
}
Fields
x: T
y: T
z: T
w: T
num_of_dims: u8
Implementations
pub fn on_change<F>(self, message: F) -> VectorEdit<T> where
F: 'static + Fn(&mut VectorEdit<T>, &mut State, Entity),
Trait Implementations
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids