pub struct MediaText {
pub text: Text,
pub start_time: Option<Duration>,
pub end_time: Option<Duration>,
}
Expand description
Represents a “media:text” item from the RSS Media spec
Fields§
§text: Text
The text
start_time: Option<Duration>
The start time offset that the text starts being relevant to the media object.
end_time: Option<Duration>
The end time that the text is relevant. If this attribute is not provided, and a start time is used, it is expected that the end time is either the end of the clip or the start of the next media:text element.
Trait Implementations§
impl Eq for MediaText
impl StructuralPartialEq for MediaText
Auto Trait Implementations§
impl Freeze for MediaText
impl RefUnwindSafe for MediaText
impl Send for MediaText
impl Sync for MediaText
impl Unpin for MediaText
impl UnwindSafe for MediaText
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)