pub enum Sentence {
PropSentence(Proposition),
RelSentence(Relation),
}
Expand description
A GDL sentence is like a Rule
without a body. The two types of Sentence
s are Relation
s
and Proposition
s
Variants§
Implementations§
Trait Implementations§
Source§impl Into<Sentence> for Proposition
impl Into<Sentence> for Proposition
Source§impl Ord for Sentence
impl Ord for Sentence
Source§impl PartialOrd for Sentence
impl PartialOrd for Sentence
impl Eq for Sentence
impl StructuralPartialEq for Sentence
Auto Trait Implementations§
impl Freeze for Sentence
impl RefUnwindSafe for Sentence
impl Send for Sentence
impl Sync for Sentence
impl Unpin for Sentence
impl UnwindSafe for Sentence
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)