pub struct ClipEvent {
pub kind: i64,
pub name: Option<String>,
pub naming: Option<NameOrigin>,
pub start: f32,
pub end: Option<f32>,
pub values: Vec<EventValue>,
pub bytes: Vec<u8>,
}Fields§
§kind: i64§name: Option<String>A name and its naming origin travel together, or both are absent.
naming: Option<NameOrigin>§start: f32Seconds from the clip’s start, finite. It may be below 0: source events legitimately begin before their clip does, and core neither clamps nor discards them; what that means for playback is each consumer’s to read.
end: Option<f32>None runs to the clip’s end. A finite explicit end may exceed clip duration; source events legitimately do so and core neither clamps nor discards them.
values: Vec<EventValue>Source order, including duplicate names: consumers address fields by index.
bytes: Vec<u8>Stored bytes stay available even when typed fields were decoded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClipEvent
impl<'de> Deserialize<'de> for ClipEvent
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 ClipEvent
Auto Trait Implementations§
impl Forget for ClipEvent
impl Freeze for ClipEvent
impl RefUnwindSafe for ClipEvent
impl Send for ClipEvent
impl Sync for ClipEvent
impl Unpin for ClipEvent
impl UnsafeUnpin for ClipEvent
impl UnwindSafe for ClipEvent
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