pub enum GenderTrue {
Male,
Female,
}
Expand description
The gender of the voice.
Variants§
Trait Implementations§
Source§impl Clone for GenderTrue
impl Clone for GenderTrue
Source§fn clone(&self) -> GenderTrue
fn clone(&self) -> GenderTrue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GenderTrue
impl Debug for GenderTrue
Source§impl Default for GenderTrue
impl Default for GenderTrue
Source§fn default() -> GenderTrue
fn default() -> GenderTrue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GenderTrue
impl<'de> Deserialize<'de> for GenderTrue
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
Source§impl Hash for GenderTrue
impl Hash for GenderTrue
Source§impl Ord for GenderTrue
impl Ord for GenderTrue
Source§fn cmp(&self, other: &GenderTrue) -> Ordering
fn cmp(&self, other: &GenderTrue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GenderTrue
impl PartialEq for GenderTrue
Source§impl PartialOrd for GenderTrue
impl PartialOrd for GenderTrue
Source§impl Serialize for GenderTrue
impl Serialize for GenderTrue
impl Copy for GenderTrue
impl Eq for GenderTrue
impl StructuralPartialEq for GenderTrue
Auto Trait Implementations§
impl Freeze for GenderTrue
impl RefUnwindSafe for GenderTrue
impl Send for GenderTrue
impl Sync for GenderTrue
impl Unpin for GenderTrue
impl UnwindSafe for GenderTrue
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