Struct vobsub::Coordinates
[−]
[src]
pub struct Coordinates { /* fields omitted */ }
Location at which to display the subtitle.
Methods
impl Coordinates
[src]
fn left(&self) -> u16
The leftmost edge of the subtitle.
fn top(&self) -> u16
The rightmost edge of the subtitle.
fn width(&self) -> u16
The width of the subtitle.
fn height(&self) -> u16
The height of the subtitle.
Trait Implementations
impl Debug for Coordinates
[src]
impl Clone for Coordinates
[src]
fn clone(&self) -> Coordinates
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Coordinates
[src]
fn eq(&self, __arg_0: &Coordinates) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Coordinates) -> bool
This method tests for !=
.