re_types/blueprint/components/
filter_is_not_null_ext.rs1use re_log_types::EntityPath;
2
3use super::FilterIsNotNull;
4
5impl FilterIsNotNull {
6 pub fn new(active: bool, entity_path: &EntityPath, column_name: String) -> Self {
8 let datatype = crate::blueprint::datatypes::FilterIsNotNull {
9 active: active.into(),
10 column: crate::blueprint::datatypes::ComponentColumnSelector::new(
11 entity_path,
12 column_name,
13 ),
14 };
15
16 Self(datatype)
17 }
18
19 pub fn active(&self) -> bool {
21 self.active.into()
22 }
23
24 pub fn entity_path(&self) -> EntityPath {
26 self.column.entity_path()
27 }
28
29 pub fn column_selector(&self) -> re_sorbet::ComponentColumnSelector {
31 self.column.column_selector()
32 }
33}