pub enum VolumeRange {
Strength(VolumeStrength),
Decibel(f32),
}
Expand description
The volume for the contained text. Legal values are: a number preceded by “+” or “-” and immediately followed by “dB”; or “silent”, “x-soft”, “soft”, “medium”, “loud”, “x-loud”, or “default”. The default is +0.0dB. Specifying a value of “silent” amounts to specifying minus infinity decibels (dB).
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Variants§
Strength(VolumeStrength)
Specifies the volume via an enumeration
Decibel(f32)
Volume specified via Decibels
Trait Implementations§
Source§impl Clone for VolumeRange
impl Clone for VolumeRange
Source§fn clone(&self) -> VolumeRange
fn clone(&self) -> VolumeRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VolumeRange
impl Debug for VolumeRange
Source§impl Display for VolumeRange
impl Display for VolumeRange
Source§impl FromStr for VolumeRange
impl FromStr for VolumeRange
Source§impl PartialEq for VolumeRange
impl PartialEq for VolumeRange
Source§impl PartialOrd for VolumeRange
impl PartialOrd for VolumeRange
impl Copy for VolumeRange
impl StructuralPartialEq for VolumeRange
Auto Trait Implementations§
impl Freeze for VolumeRange
impl RefUnwindSafe for VolumeRange
impl Send for VolumeRange
impl Sync for VolumeRange
impl Unpin for VolumeRange
impl UnwindSafe for VolumeRange
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