pub struct ModalVector {
pub domain: ModalDomain,
pub force: f32,
pub flavor: ModalFlavor,
}Expand description
Modal operator parameters for Kripke semantics.
Combines domain (what kind of modality), force (necessity vs possibility), and flavor (scope behavior) into a single modal specification.
Fields§
§domain: ModalDomainThe modal domain: alethic or deontic.
force: f32Modal force: 1.0 = necessity (□), 0.5 = possibility (◇), graded values between.
flavor: ModalFlavorScope flavor: root (narrow scope) or epistemic (wide scope).
Trait Implementations§
Source§impl Clone for ModalVector
impl Clone for ModalVector
Source§fn clone(&self) -> ModalVector
fn clone(&self) -> ModalVector
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 ModalVector
impl Debug for ModalVector
Source§impl PartialEq for ModalVector
impl PartialEq for ModalVector
impl Copy for ModalVector
impl StructuralPartialEq for ModalVector
Auto Trait Implementations§
impl Freeze for ModalVector
impl RefUnwindSafe for ModalVector
impl Send for ModalVector
impl Sync for ModalVector
impl Unpin for ModalVector
impl UnwindSafe for ModalVector
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