pub struct VocabularyPool {
pub preferred: FxHashSet<String>,
pub avoided: FxHashSet<String>,
}Expand description
Preferred and avoided words for a voice.
Fields§
§preferred: FxHashSet<String>§avoided: FxHashSet<String>Trait Implementations§
Source§impl Clone for VocabularyPool
impl Clone for VocabularyPool
Source§fn clone(&self) -> VocabularyPool
fn clone(&self) -> VocabularyPool
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 VocabularyPool
impl Debug for VocabularyPool
Source§impl Default for VocabularyPool
impl Default for VocabularyPool
Source§fn default() -> VocabularyPool
fn default() -> VocabularyPool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VocabularyPool
impl<'de> Deserialize<'de> for VocabularyPool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VocabularyPool
impl RefUnwindSafe for VocabularyPool
impl Send for VocabularyPool
impl Sync for VocabularyPool
impl Unpin for VocabularyPool
impl UnsafeUnpin for VocabularyPool
impl UnwindSafe for VocabularyPool
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