pub enum WebVTTNodeObjectKind {
List,
Class,
Italic,
Bold,
Underline,
Ruby,
RubyText,
Voice(String),
Language,
Text(String),
Timestamp(WebVTTTimestamp),
}Expand description
Variants§
List
Class
Italic
Bold
Underline
Ruby
RubyText
Voice(String)
https://w3c.github.io/webvtt/#webvtt-voice-object The string is the name of the voice
Language
Text(String)
Timestamp(WebVTTTimestamp)
https://w3c.github.io/webvtt/#webvtt-timestamp-object The float is the timestamp value
Trait Implementations§
Source§impl Debug for WebVTTNodeObjectKind
impl Debug for WebVTTNodeObjectKind
Source§impl Default for WebVTTNodeObjectKind
impl Default for WebVTTNodeObjectKind
Source§fn default() -> WebVTTNodeObjectKind
fn default() -> WebVTTNodeObjectKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for WebVTTNodeObjectKind
impl PartialEq for WebVTTNodeObjectKind
Source§fn eq(&self, other: &WebVTTNodeObjectKind) -> bool
fn eq(&self, other: &WebVTTNodeObjectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebVTTNodeObjectKind
Auto Trait Implementations§
impl Freeze for WebVTTNodeObjectKind
impl RefUnwindSafe for WebVTTNodeObjectKind
impl Send for WebVTTNodeObjectKind
impl Sync for WebVTTNodeObjectKind
impl Unpin for WebVTTNodeObjectKind
impl UnsafeUnpin for WebVTTNodeObjectKind
impl UnwindSafe for WebVTTNodeObjectKind
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