Searched refs:point (Results 1 – 6 of 6) sorted by relevance
| /tonic/examples/src/routeguide/ |
| H A D | server.rs | 76 while let Some(point) = stream.next().await { in record_route() 77 let point = point?; in record_route() localVariable 79 println!(" ==> Point = {:?}", point); in record_route() 86 if feature.location.as_ref() == Some(&point) { in record_route() 93 summary.distance += calc_distance(last_point, &point); in record_route() 96 last_point = Some(point); in record_route() 153 fn in_range(point: &Point, rect: &Rectangle) -> bool { in in_range() 164 point.longitude >= left in in_range() 165 && point.longitude <= right in in_range() 166 && point.latitude >= bottom in in_range() [all …]
|
| /tonic/examples/proto/routeguide/ |
| H A D | route_guide.proto | 73 // A feature names something at a given point. 80 // The point where the feature is detected. 84 // A RouteNote is a message sent while at a given point. 97 // the distance between each point.
|
| /tonic/tonic-health/proto/ |
| H A D | health.proto | 55 // future point, the serving status of the service becomes known, the
|
| /tonic/examples/ |
| H A D | routeguide-tutorial.md | 338 Next, we need to implement `Hash` and `Eq` for `Point`, so we can use point values as map keys: 449 while let Some(point) = stream.next().await { 450 let point = point?; 454 if feature.location.as_ref() == Some(&point) { 460 summary.distance += calc_distance(last_point, &point); 463 last_point = Some(point);
|
| H A D | helloworld-tutorial.md | 318 At this point we have written our protobuf file, a build file to compile our protobufs, a server wh…
|
| /tonic/examples/proto/googleapis/google/pubsub/v1/ |
| H A D | pubsub.proto | 614 // Seeks an existing subscription to a point in time or to a given snapshot, 1300 // if `time` corresponds to a point before the message retention 1301 // window (or to a point before the system's notion of the subscription
|