pub enum ModalDomain {
Alethic,
Deontic,
Temporal,
}Expand description
Modal logic domain classification.
Determines the accessibility relation in Kripke semantics: what kinds of possible worlds are relevant.
Variants§
Alethic
Alethic modality: logical/metaphysical possibility and necessity. “It is possible that P” = P holds in some accessible world.
Deontic
Deontic modality: obligation and permission. “It is obligatory that P” = P holds in all deontically ideal worlds.
Temporal
Temporal modality: hardware state transitions. Accessibility = next-state relation (clock-cycle transitions).
Trait Implementations§
Source§impl Clone for ModalDomain
impl Clone for ModalDomain
Source§fn clone(&self) -> ModalDomain
fn clone(&self) -> ModalDomain
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 ModalDomain
impl Debug for ModalDomain
Source§impl PartialEq for ModalDomain
impl PartialEq for ModalDomain
Source§fn eq(&self, other: &ModalDomain) -> bool
fn eq(&self, other: &ModalDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModalDomain
impl StructuralPartialEq for ModalDomain
Auto Trait Implementations§
impl Freeze for ModalDomain
impl RefUnwindSafe for ModalDomain
impl Send for ModalDomain
impl Sync for ModalDomain
impl Unpin for ModalDomain
impl UnsafeUnpin for ModalDomain
impl UnwindSafe for ModalDomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.