pub struct Relations { /* private fields */ }Expand description
The modality of every Relation between one pair of expressions, as
computed by Edtf::relation.
Implementations§
Source§impl Relations
impl Relations
Sourcepub fn is_possible(self, r: Relation) -> bool
pub fn is_possible(self, r: Relation) -> bool
True if the relation holds for at least one completion pair
(i.e. its modality is Possible or Definite).
Sourcepub fn is_definite(self, r: Relation) -> bool
pub fn is_definite(self, r: Relation) -> bool
True if the relation holds for every completion pair.
Sourcepub fn is_impossible(self, r: Relation) -> bool
pub fn is_impossible(self, r: Relation) -> bool
True if the relation holds for no completion pair.
Trait Implementations§
impl Copy for Relations
impl Eq for Relations
impl StructuralPartialEq for Relations
Auto Trait Implementations§
impl Freeze for Relations
impl RefUnwindSafe for Relations
impl Send for Relations
impl Sync for Relations
impl Unpin for Relations
impl UnsafeUnpin for Relations
impl UnwindSafe for Relations
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