pub enum ViewerMode {
Auto,
Image,
Video,
Audio,
Live,
Workspace,
}Expand description
Media source mode for the Viewer.
Variants§
Auto
Probe path as image → video → audio.
Image
Video
Audio
Live
Attach a ViewerLiveSource and render its output each frame.
Workspace
Dock-style host for UI elements (Workspace); content is composed
through split_pane + tab_bar, not a second compositor.
Trait Implementations§
Source§impl Clone for ViewerMode
impl Clone for ViewerMode
impl Copy for ViewerMode
Source§impl Debug for ViewerMode
impl Debug for ViewerMode
Source§impl Default for ViewerMode
impl Default for ViewerMode
impl Eq for ViewerMode
Source§impl PartialEq for ViewerMode
impl PartialEq for ViewerMode
impl StructuralPartialEq for ViewerMode
Auto Trait Implementations§
impl Forget for ViewerMode
impl Freeze for ViewerMode
impl Move for ViewerMode
impl RefUnwindSafe for ViewerMode
impl Send for ViewerMode
impl Sync for ViewerMode
impl Unpin for ViewerMode
impl UnsafeUnpin for ViewerMode
impl UnwindSafe for ViewerMode
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