pub enum MetricalFoot {
Show 17 variants
Iamb,
Trochee,
Anapest,
Dactyl,
Spondee,
Pyrrhic,
Amphibrach,
Amphimacer,
Bacchic,
Cretic,
Antibacchius,
Molossus,
Tribrach,
Choriamb,
IonicAMinore,
IonicAMajore,
Aeolic,
}Expand description
Enum representing different metrical feet.
Variants§
Iamb
Trochee
Anapest
Dactyl
Spondee
Pyrrhic
Amphibrach
Amphimacer
Bacchic
Cretic
Antibacchius
Molossus
Tribrach
Choriamb
IonicAMinore
IonicAMajore
Aeolic
Trait Implementations§
Source§impl Clone for MetricalFoot
impl Clone for MetricalFoot
Source§fn clone(&self) -> MetricalFoot
fn clone(&self) -> MetricalFoot
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 MetricalFoot
impl Debug for MetricalFoot
Source§impl Default for MetricalFoot
impl Default for MetricalFoot
Source§fn default() -> MetricalFoot
fn default() -> MetricalFoot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricalFoot
impl<'de> Deserialize<'de> for MetricalFoot
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 MetricalFoot
impl Hash for MetricalFoot
Source§impl ItemFeature for MetricalFoot
impl ItemFeature for MetricalFoot
Source§impl PartialEq for MetricalFoot
impl PartialEq for MetricalFoot
Source§impl RandConstructEnum for MetricalFoot
impl RandConstructEnum for MetricalFoot
fn all_variants() -> Vec<Self>
fn default_weight(&self) -> f64
fn create_default_probability_map() -> Arc<HashMap<MetricalFoot, f64>>
fn random_variant() -> Self
fn uniform_variant() -> Self
fn random_enum_value_with_rng<RNG>(rng: &mut RNG) -> Self
Source§impl RandConstructEnumWithEnv for MetricalFoot
impl RandConstructEnumWithEnv for MetricalFoot
fn random_with_env<P>() -> Selfwhere
P: RandConstructProbabilityMapProvider<Self>,
fn random_uniform_with_env<P>() -> Selfwhere
P: RandConstructProbabilityMapProvider<Self>,
fn sample_from_provider<P, RNG>(rng: &mut RNG) -> Self
fn sample_uniformly_from_provider<P, RNG>(rng: &mut RNG) -> Self
Source§impl Serialize for MetricalFoot
impl Serialize for MetricalFoot
impl Copy for MetricalFoot
impl Eq for MetricalFoot
impl StructuralPartialEq for MetricalFoot
Auto Trait Implementations§
impl Freeze for MetricalFoot
impl RefUnwindSafe for MetricalFoot
impl Send for MetricalFoot
impl Sync for MetricalFoot
impl Unpin for MetricalFoot
impl UnwindSafe for MetricalFoot
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