pub struct ViewerConfig {Show 37 fields
pub mode: ViewerMode,
pub path: String,
pub title: String,
pub width: u32,
pub height: u32,
pub style: UiStyle,
pub motion_speed: MotionSpeed,
pub show_help: bool,
pub show_stats: bool,
pub show_timeline: bool,
pub vsync: bool,
pub loop_media: bool,
pub start_playing: bool,
pub auto_hide_controls: bool,
pub controls_hide_delay_ms: u32,
pub canvas_background: ViewerCanvasBackground,
pub show_canvas_grid: bool,
pub audio_view: ViewerAudioView,
pub audio_waveform_bins: u32,
pub audio_analysis_frames: u32,
pub audio_fft_size: u32,
pub audio_hop_size: u32,
pub audio_mel_bins: u32,
pub audio_ring_ms: u32,
pub key_quit: Key,
pub key_quit_q: Key,
pub key_red: Key,
pub key_green: Key,
pub key_blue: Key,
pub key_alpha: Key,
pub key_rgb: Key,
pub key_zoom_in: Key,
pub key_zoom_out: Key,
pub key_zoom_fit: Key,
pub key_zoom_100: Key,
pub key_canvas_background: Key,
pub key_canvas_grid: Key,
}Fields§
§mode: ViewerMode§path: String§title: String§width: u32§height: u32§style: UiStyle§motion_speed: MotionSpeed§show_help: bool§show_stats: bool§show_timeline: bool§vsync: bool§loop_media: bool§start_playing: bool§auto_hide_controls: bool§controls_hide_delay_ms: u32§canvas_background: ViewerCanvasBackground§show_canvas_grid: bool§audio_view: ViewerAudioView§audio_waveform_bins: u32§audio_analysis_frames: u32§audio_fft_size: u32§audio_hop_size: u32§audio_mel_bins: u32§audio_ring_ms: u32§key_quit: Key§key_quit_q: Key§key_red: Key§key_green: Key§key_blue: Key§key_alpha: Key§key_rgb: Key§key_zoom_in: Key§key_zoom_out: Key§key_zoom_fit: Key§key_zoom_100: Key§key_canvas_background: Key§key_canvas_grid: KeyTrait Implementations§
Source§impl Clone for ViewerConfig
impl Clone for ViewerConfig
Source§impl Debug for ViewerConfig
impl Debug for ViewerConfig
Auto Trait Implementations§
impl Forget for ViewerConfig
impl Freeze for ViewerConfig
impl Move for ViewerConfig
impl RefUnwindSafe for ViewerConfig
impl Send for ViewerConfig
impl Sync for ViewerConfig
impl Unpin for ViewerConfig
impl UnsafeUnpin for ViewerConfig
impl UnwindSafe for ViewerConfig
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