pub trait VTTCueMethods {
Show 21 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>>;
}