pub trait VTTCueMethods {
Show 22 methods // Required methods fn GetRegion(&self) -> Option<Root<Dom<VTTRegion>>>; fn SetRegion(&self, value: Option<&VTTRegion>); fn Vertical(&self) -> DirectionSetting; fn SetVertical(&self, value: DirectionSetting); fn SnapToLines(&self) -> bool; fn SetSnapToLines(&self, value: bool); fn Line(&self) -> DoubleOrAutoKeyword; fn SetLine(&self, value: DoubleOrAutoKeyword); fn LineAlign(&self) -> LineAlignSetting; fn SetLineAlign(&self, value: LineAlignSetting); fn Position(&self) -> DoubleOrAutoKeyword; fn SetPosition(&self, value: DoubleOrAutoKeyword) -> Result<(), Error>; fn PositionAlign(&self) -> PositionAlignSetting; fn SetPositionAlign(&self, value: PositionAlignSetting); fn Size(&self) -> Finite<f64>; fn SetSize(&self, value: Finite<f64>) -> Result<(), Error>; fn Align(&self) -> AlignSetting; fn SetAlign(&self, value: AlignSetting); fn Text(&self) -> DOMString; fn SetText(&self, value: DOMString); fn GetCueAsHTML(&self) -> Root<Dom<DocumentFragment>>; fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, startTime: Finite<f64>, endTime: Finite<f64>, text: DOMString, ) -> Root<Dom<VTTCue>>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§