We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf7c43 commit c751be3Copy full SHA for c751be3
src/processing/time.rs
@@ -17,7 +17,9 @@ pub enum TimeOffsetError {
17
/// be converted to another [TimeScale]
18
pub trait Timeshift {
19
/// [TimeScale] transposition without mutable access
20
- fn time_shift(&self, time_offsets: &[TimeOffset]);
+ fn time_shift(&self, time_offsets: &[TimeOffset]) -> Self
21
+ where
22
+ Self: Sized;
23
24
/// [TimeScale] transposition with mutable access
25
fn time_shift_mut(&self, time_offsets: &[TimeOffset]);
0 commit comments