pub struct VttCue {
pub id: Option<String>,
pub start_sec: f64,
pub end_sec: f64,
pub settings: Option<String>,
pub text: String,
}Expand description
1 件の字幕キュー(Cue)
Fields§
§id: Option<String>識別子(オプション、例: “1”, “intro-cue”)
start_sec: f64開始時間(秒)
end_sec: f64終了時間(秒)
settings: Option<String>キュー設定文字列(オプション、例: “align:start position:10%”)
text: String字幕テキスト(改行を含む複数行可能)
Implementations§
Trait Implementations§
impl StructuralPartialEq for VttCue
Auto Trait Implementations§
impl Freeze for VttCue
impl RefUnwindSafe for VttCue
impl Send for VttCue
impl Sync for VttCue
impl Unpin for VttCue
impl UnsafeUnpin for VttCue
impl UnwindSafe for VttCue
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