pub enum TimeDesignation {
Seconds(f32),
Milliseconds(f32),
}
Expand description
For times SSML only uses seconds or milliseconds in the form “%fs” “%fs”, this handles parsing these times
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TimeDesignation
impl Clone for TimeDesignation
Source§fn clone(&self) -> TimeDesignation
fn clone(&self) -> TimeDesignation
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 TimeDesignation
impl Debug for TimeDesignation
Source§impl Display for TimeDesignation
impl Display for TimeDesignation
Source§impl FromStr for TimeDesignation
impl FromStr for TimeDesignation
Source§impl PartialEq for TimeDesignation
impl PartialEq for TimeDesignation
Source§impl PartialOrd for TimeDesignation
impl PartialOrd for TimeDesignation
impl Copy for TimeDesignation
impl StructuralPartialEq for TimeDesignation
Auto Trait Implementations§
impl Freeze for TimeDesignation
impl RefUnwindSafe for TimeDesignation
impl Send for TimeDesignation
impl Sync for TimeDesignation
impl Unpin for TimeDesignation
impl UnwindSafe for TimeDesignation
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