Home
last modified time | relevance | path

Searched refs:ProtoPosition (Results 1 – 2 of 2) sorted by relevance

/tools/netsim/rust/daemon/src/devices/
Ddevice.rs26 use netsim_proto::model::Position as ProtoPosition;
47 pub position: RwLock<ProtoPosition>,
59 position: RwLock::new(ProtoPosition::new()), in new()
Ddevices_handler.rs52 use netsim_proto::model::Position as ProtoPosition;
522 fn distance(a: &ProtoPosition, b: &ProtoPosition) -> f32 { in distance() argument
932 fn new_position(x: f32, y: f32, z: f32) -> ProtoPosition { in new_position() argument
933 ProtoPosition { x, y, z, ..Default::default() } in new_position()