re_space_view 0.13.0

Types & utilities for defining Space View classes and communicating with the Viewport.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use re_log_types::EntityPathFilter;

use super::QueryExpressions;

impl From<&EntityPathFilter> for QueryExpressions {
    fn from(filter: &EntityPathFilter) -> Self {
        Self(filter.formatted().into())
    }
}

impl From<&QueryExpressions> for EntityPathFilter {
    fn from(expressions: &QueryExpressions) -> Self {
        EntityPathFilter::parse_forgiving(&expressions.0)
    }
}