Skip to main content

with_volume

Function with_volume 

Source
pub fn with_volume(widget: Widget, volume: f32) -> Widget
Expand description

Set the volume (0.01.0) on a video_player. No-op on non-Video widgets.