pub struct Config {
pub depth: Depth,
pub buffers: [(u16, u16); 3],
pub screen_width: u16,
pub screen_height: u16,
pub latency_vblanks: u32,
pub stall_vblanks: u32,
}Expand description
Where and how to show it.
Fields§
§depth: DepthOutput depth.
buffers: [(u16, u16); 3]VRAM origins (halfword x, line y) of the three display buffers, each
screen_width pixels by screen_height lines; the movie is centred
in them over black. DEFAULT_BUFFERS suits a 320-wide display.
screen_width: u16The display’s size.
screen_height: u16Display height.
latency_vblanks: u32VBlanks from a frame’s last sector to its flip: the decoder’s headroom, and the fixed lag of the picture behind the sound.
stall_vblanks: u32End the stream if no sector arrives for this many VBlanks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)