pub enum PronounDensity {
Low,
Default,
High,
}Expand description
Pronoun density dial — adjusts the threshold at which {name|refer}
switches from full form to short form to pronoun.
Low keeps full forms longer (formal register). High switches to
pronouns earlier (conversational register). Implementation is a small
offset on the existing centering-theory transition rules; the rules
themselves don’t change.
Variants§
Trait Implementations§
Source§impl Clone for PronounDensity
impl Clone for PronounDensity
Source§fn clone(&self) -> PronounDensity
fn clone(&self) -> PronounDensity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PronounDensity
impl Debug for PronounDensity
Source§impl Default for PronounDensity
impl Default for PronounDensity
Source§fn default() -> PronounDensity
fn default() -> PronounDensity
Returns the “default value” for a type. Read more
Source§impl PartialEq for PronounDensity
impl PartialEq for PronounDensity
Source§fn eq(&self, other: &PronounDensity) -> bool
fn eq(&self, other: &PronounDensity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PronounDensity
impl Eq for PronounDensity
impl StructuralPartialEq for PronounDensity
Auto Trait Implementations§
impl Freeze for PronounDensity
impl RefUnwindSafe for PronounDensity
impl Send for PronounDensity
impl Sync for PronounDensity
impl Unpin for PronounDensity
impl UnsafeUnpin for PronounDensity
impl UnwindSafe for PronounDensity
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