MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / as_time_window

Method as_time_window

graphlite/src/storage/value.rs:262–267  ·  view source on GitHub ↗

Extract as time window if possible

(&self)

Source from the content-addressed store, hash-verified

260
261 /// Extract as time window if possible
262 pub fn as_time_window(&self) -> Option<&TimeWindow> {
263 match self {
264 Value::TimeWindow(tw) => Some(tw),
265 _ => None,
266 }
267 }
268
269 /// Extract as vector if possible
270 pub fn as_vector(&self) -> Option<&Vec<f32>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected