Using seek #50
Unanswered
animanathome
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I'm starting out with Rust and I'm having a hard time figuring out how to use the
seek
function forInput
(see below). It requires a range R but I can't figure out how to pass it to the function. Do I need to create it? If so, how do I do that? Any help is much appreciated!pub fn seek<R: Range<i64>>(&mut self, ts: i64, range: R) -> Result<(), Error>
Thanks in advance, Manu
Beta Was this translation helpful? Give feedback.
All reactions