Struct rust_cast::channels::receiver::Volume [−][src]
Structure that describes possible cast device volume options.
Fields
level: Option<f32>
Volume level.
muted: Option<bool>
Mute/unmute state.
Trait Implementations
impl Debug for Volume
[src]
impl Debug for Volume
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Into<Volume> for f32
[src]
impl Into<Volume> for f32
This Into<Volume>
implementation is useful when only volume level is needed.
impl Into<Volume> for bool
[src]
impl Into<Volume> for bool
This Into<Volume>
implementation is useful when only mute/unmute state is needed.
impl Into<Volume> for (f32, bool)
[src]
impl Into<Volume> for (f32, bool)
This Into<Volume>
implementation is useful when both volume level and mute/unmute state are
needed.