pub struct MarkAttributes {
pub name: String,
}
Expand description
A mark element is an empty element that places a marker into the text/tag sequence. It has one REQUIRED attribute, name, which is of type xsd:token [SCHEMA2 §3.3.2]. The mark element can be used to reference a specific location in the text/tag sequence, and can additionally be used to insert a marker into an output stream for asynchronous notification. When processing a mark element, a synthesis processor MUST do one or both of the following:
- inform the hosting environment with the value of the name attribute and with information allowing the platform to retrieve the corresponding position in the rendered output.
- when audio output of the SSML document reaches the mark, issue an event that includes the REQUIRED name attribute of the element. The hosting environment defines the destination of the event.
The mark element does not affect the speech output process.
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Fields§
§name: String
Name of the marker used to refer to it when jumping in the audio.
Trait Implementations§
Source§impl Clone for MarkAttributes
impl Clone for MarkAttributes
Source§fn clone(&self) -> MarkAttributes
fn clone(&self) -> MarkAttributes
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 MarkAttributes
impl Debug for MarkAttributes
Source§impl Display for MarkAttributes
impl Display for MarkAttributes
Source§impl PartialEq for MarkAttributes
impl PartialEq for MarkAttributes
impl Eq for MarkAttributes
impl StructuralPartialEq for MarkAttributes
Auto Trait Implementations§
impl Freeze for MarkAttributes
impl RefUnwindSafe for MarkAttributes
impl Send for MarkAttributes
impl Sync for MarkAttributes
impl Unpin for MarkAttributes
impl UnwindSafe for MarkAttributes
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