pub struct EmphasisAttributes {
pub level: Option<EmphasisLevel>,
}Expand description
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Fields§
§level: Option<EmphasisLevel>the optional level attribute indicates the strength of emphasis to be applied. Defined values are “strong”, “moderate”, “none” and “reduced”. The default level is “moderate”. The meaning of “strong” and “moderate” emphasis is interpreted according to the language being spoken (languages indicate emphasis using a possible combination of pitch change, timing changes, loudness and other acoustic differences). The “reduced” level is effectively the opposite of emphasizing a word. For example, when the phrase “going to” is reduced it may be spoken as “gonna”. The “none” level is used to prevent the synthesis processor from emphasizing words that it might typically emphasize. The values “none”, “moderate”, and “strong” are monotonically non-decreasing in strength.
Trait Implementations§
Source§impl Clone for EmphasisAttributes
impl Clone for EmphasisAttributes
Source§fn clone(&self) -> EmphasisAttributes
fn clone(&self) -> EmphasisAttributes
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for EmphasisAttributes
Source§impl Debug for EmphasisAttributes
impl Debug for EmphasisAttributes
Source§impl Display for EmphasisAttributes
impl Display for EmphasisAttributes
impl Eq for EmphasisAttributes
Source§impl Hash for EmphasisAttributes
impl Hash for EmphasisAttributes
Source§impl Ord for EmphasisAttributes
impl Ord for EmphasisAttributes
Source§fn cmp(&self, other: &EmphasisAttributes) -> Ordering
fn cmp(&self, other: &EmphasisAttributes) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for EmphasisAttributes
impl PartialEq for EmphasisAttributes
Source§fn eq(&self, other: &EmphasisAttributes) -> bool
fn eq(&self, other: &EmphasisAttributes) -> bool
self and other values to be equal, and is used by ==.