pub struct RelationSummary {
pub before: &'static str,
pub after: &'static str,
pub overlaps: &'static str,
pub contains: &'static str,
pub within: &'static str,
pub equal: &'static str,
}Expand description
The JSON shape relation returns.
The modality of each of the six coarsened Allen relations between the
two inputs, each "impossible" | "possible" | "definite". Semantics:
docs/spec-notes.md D23 (possible-completions over bounds regions;
Unknown bounds are possible-everything, never definite).
Fields§
§before: &'static strA ends before B starts.
after: &'static strA starts after B ends.
overlaps: &'static strPartial overlap on opposite sides.
contains: &'static strB lies within A without being equal.
within: &'static strA lies within B without being equal.
equal: &'static strA and B cover exactly the same days.
Trait Implementations§
Source§impl Debug for RelationSummary
impl Debug for RelationSummary
Auto Trait Implementations§
impl Freeze for RelationSummary
impl RefUnwindSafe for RelationSummary
impl Send for RelationSummary
impl Sync for RelationSummary
impl Unpin for RelationSummary
impl UnsafeUnpin for RelationSummary
impl UnwindSafe for RelationSummary
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