pub struct GraphEdge {
pub from: SourceId,
pub to: SourceId,
pub min_travel_ns: i64,
pub max_travel_ns: Option<i64>,
}Expand description
Directed camera hop constraint (analysis-local; mirrors re-id topology shape).
Fields§
§from: SourceIdFrom camera.
to: SourceIdTo camera.
min_travel_ns: i64Minimum plausible travel time (nanoseconds).
max_travel_ns: Option<i64>Optional maximum travel time.
Trait Implementations§
impl Copy for GraphEdge
impl Eq for GraphEdge
impl StructuralPartialEq for GraphEdge
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnsafeUnpin for GraphEdge
impl UnwindSafe for GraphEdge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more