pub struct NullTermExpression<H: HostTypes> { /* private fields */ }Expand description
Phase 2 (orphan-closure) — resolver-absent default impl of TermExpression<H>.
Every accessor returns H::EMPTY_* sentinels (for scalar / host-typed
returns) or a 'static-lifetime reference to a sibling Null*’s ABSENT
const (for trait-typed returns). Downstream provides concrete impls;
this stub closes the ontology-derived trait orphan.
Implementations§
Source§impl<H: HostTypes> NullTermExpression<H>
impl<H: HostTypes> NullTermExpression<H>
Sourcepub const ABSENT: NullTermExpression<H>
pub const ABSENT: NullTermExpression<H>
Absent-value sentinel. &Self::ABSENT gives every trait-typed accessor a 'static-lifetime reference target.
Trait Implementations§
Source§impl<H: Clone + HostTypes> Clone for NullTermExpression<H>
impl<H: Clone + HostTypes> Clone for NullTermExpression<H>
Source§fn clone(&self) -> NullTermExpression<H>
fn clone(&self) -> NullTermExpression<H>
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<H: HostTypes> Default for NullTermExpression<H>
impl<H: HostTypes> Default for NullTermExpression<H>
Source§impl<H: PartialEq + HostTypes> PartialEq for NullTermExpression<H>
impl<H: PartialEq + HostTypes> PartialEq for NullTermExpression<H>
Source§fn eq(&self, other: &NullTermExpression<H>) -> bool
fn eq(&self, other: &NullTermExpression<H>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<H: Copy + HostTypes> Copy for NullTermExpression<H>
impl<H: Eq + HostTypes> Eq for NullTermExpression<H>
impl<H: HostTypes> StructuralPartialEq for NullTermExpression<H>
impl<H: HostTypes> TermExpression<H> for NullTermExpression<H>
Auto Trait Implementations§
impl<H> Freeze for NullTermExpression<H>
impl<H> RefUnwindSafe for NullTermExpression<H>where
H: RefUnwindSafe,
impl<H> Send for NullTermExpression<H>where
H: Send,
impl<H> Sync for NullTermExpression<H>where
H: Sync,
impl<H> Unpin for NullTermExpression<H>where
H: Unpin,
impl<H> UnsafeUnpin for NullTermExpression<H>
impl<H> UnwindSafe for NullTermExpression<H>where
H: UnwindSafe,
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