pub enum ModalPreference {
Default,
Epistemic,
Deontic,
}Expand description
Controls interpretation of polysemous modals (may, can, could). Used by compile_forest to generate multiple semantic readings.
Semantic Matrix: may: Default=Permission (Deontic, Root) Epistemic=Possibility (Alethic, Epistemic) can: Default=Ability (Alethic, Root) Deontic=Permission (Deontic, Root) could: Default=PastAbility (Alethic, Root) Epistemic=Possibility (Alethic, Epistemic)
Variants§
Default
Default readings: may=Permission, can=Ability, could=PastAbility
Epistemic
Epistemic readings: may=Possibility (wide scope), could=Possibility (wide scope)
Deontic
Deontic readings: can=Permission (narrow scope, deontic domain)
Trait Implementations§
Source§impl Clone for ModalPreference
impl Clone for ModalPreference
Source§fn clone(&self) -> ModalPreference
fn clone(&self) -> ModalPreference
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 ModalPreference
impl Debug for ModalPreference
Source§impl Default for ModalPreference
impl Default for ModalPreference
Source§fn default() -> ModalPreference
fn default() -> ModalPreference
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModalPreference
impl PartialEq for ModalPreference
impl Copy for ModalPreference
impl Eq for ModalPreference
impl StructuralPartialEq for ModalPreference
Auto Trait Implementations§
impl Freeze for ModalPreference
impl RefUnwindSafe for ModalPreference
impl Send for ModalPreference
impl Sync for ModalPreference
impl Unpin for ModalPreference
impl UnwindSafe for ModalPreference
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