Struct tuix::VectorEdit [−]
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 new() -> VectorEdit<T>
pub fn with_x(self, val: T) -> VectorEdit<T>
pub fn with_y(self, val: T) -> VectorEdit<T>
pub fn with_z(self, val: T) -> VectorEdit<T>
pub fn with_w(self, val: T) -> VectorEdit<T>
pub fn on_change<F>(self, message: F) -> VectorEdit<T> where
F: 'static + Fn(&mut VectorEdit<T>, &mut State, Entity),
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for VectorEdit<T>
impl<T> !Send for VectorEdit<T>
impl<T> !Sync for VectorEdit<T>
impl<T> Unpin for VectorEdit<T> where
T: Unpin,
impl<T> !UnwindSafe for VectorEdit<T>
Blanket Implementations
Mutably borrows from an owned value. Read more