pub struct TimeSpan {
pub start_sample: i64,
pub end_sample: i64,
}Expand description
一段音频在采样轴上的时间范围。
Fields§
§start_sample: i64起始采样点(含)。
end_sample: i64结束采样点(不含)。
Trait Implementations§
impl Copy for TimeSpan
Source§impl<'de> Deserialize<'de> for TimeSpan
impl<'de> Deserialize<'de> for TimeSpan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TimeSpan
Auto Trait Implementations§
impl Forget for TimeSpan
impl Freeze for TimeSpan
impl RefUnwindSafe for TimeSpan
impl Send for TimeSpan
impl Sync for TimeSpan
impl Unpin for TimeSpan
impl UnsafeUnpin for TimeSpan
impl UnwindSafe for TimeSpan
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