pub struct OwnedEvent {}Expand description
Owned version of Event for use in EventInfo
Fields§
§event_type: EventTypeEvent type (Dialogue, Comment, etc.)
layer: StringLayer for drawing order (higher layers drawn on top)
start: StringStart time in ASS time format (H:MM:SS.CS)
end: StringEnd time in ASS time format (H:MM:SS.CS)
style: StringStyle name reference
name: StringCharacter name or speaker
margin_l: StringLeft margin override (pixels)
margin_r: StringRight margin override (pixels)
margin_v: StringVertical margin override (pixels) (V4+)
margin_t: Option<String>Top margin override (pixels) (V4++) - optional
margin_b: Option<String>Bottom margin override (pixels) (V4++) - optional
effect: StringEffect specification for special rendering
text: StringText content with possible style overrides
Trait Implementations§
Source§impl Clone for OwnedEvent
impl Clone for OwnedEvent
Source§fn clone(&self) -> OwnedEvent
fn clone(&self) -> OwnedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnedEvent
impl Debug for OwnedEvent
Source§impl<'a> From<&Event<'a>> for OwnedEvent
impl<'a> From<&Event<'a>> for OwnedEvent
Source§impl PartialEq for OwnedEvent
impl PartialEq for OwnedEvent
impl StructuralPartialEq for OwnedEvent
Auto Trait Implementations§
impl Freeze for OwnedEvent
impl RefUnwindSafe for OwnedEvent
impl Send for OwnedEvent
impl Sync for OwnedEvent
impl Unpin for OwnedEvent
impl UnwindSafe for OwnedEvent
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