pub enum VideoStandard {
Ntsc,
Pal,
}Expand description
Video standard
Variants§
Implementations§
Source§impl VideoStandard
impl VideoStandard
Sourcepub fn total_lines(&self) -> u16
pub fn total_lines(&self) -> u16
Get total lines per frame
Sourcepub fn active_lines(&self) -> u16
pub fn active_lines(&self) -> u16
Get active video lines
Sourcepub fn pixels_per_line(&self) -> u16
pub fn pixels_per_line(&self) -> u16
Get pixels per line (for digital video)
Trait Implementations§
Source§impl Clone for VideoStandard
impl Clone for VideoStandard
Source§fn clone(&self) -> VideoStandard
fn clone(&self) -> VideoStandard
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoStandard
impl Debug for VideoStandard
Source§impl PartialEq for VideoStandard
impl PartialEq for VideoStandard
impl Copy for VideoStandard
impl Eq for VideoStandard
impl StructuralPartialEq for VideoStandard
Auto Trait Implementations§
impl Freeze for VideoStandard
impl RefUnwindSafe for VideoStandard
impl Send for VideoStandard
impl Sync for VideoStandard
impl Unpin for VideoStandard
impl UnsafeUnpin for VideoStandard
impl UnwindSafe for VideoStandard
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