Skip to content

Commit

Permalink
WIP: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Sep 27, 2024
1 parent f447295 commit acbefcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/store/re_types/src/components/graph_edge_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ impl super::GraphEdge {
}

/// Specifies the entity in which the edge originates.
#[inline]
pub fn with_source_in(mut self, path: impl Into<EntityPath>) -> Self {
self.0.source_entity = Some(path.into());
self
}

/// Specifies the entity in which the edge terminates.
#[inline]
pub fn with_target_in(mut self, path: impl Into<EntityPath>) -> Self {
self.0.target_entity = Some(path.into());
self
Expand Down

0 comments on commit acbefcb

Please sign in to comment.