pub struct NullSetExpression<H: HostTypes> { /* private fields */ }Expand description
Phase 2 (orphan-closure) — resolver-absent default impl of SetExpression<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> NullSetExpression<H>
impl<H: HostTypes> NullSetExpression<H>
Sourcepub const ABSENT: NullSetExpression<H>
pub const ABSENT: NullSetExpression<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 NullSetExpression<H>
impl<H: Clone + HostTypes> Clone for NullSetExpression<H>
Source§fn clone(&self) -> NullSetExpression<H>
fn clone(&self) -> NullSetExpression<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 NullSetExpression<H>
impl<H: HostTypes> Default for NullSetExpression<H>
Source§impl<H: PartialEq + HostTypes> PartialEq for NullSetExpression<H>
impl<H: PartialEq + HostTypes> PartialEq for NullSetExpression<H>
Source§fn eq(&self, other: &NullSetExpression<H>) -> bool
fn eq(&self, other: &NullSetExpression<H>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<H: Copy + HostTypes> Copy for NullSetExpression<H>
impl<H: Eq + HostTypes> Eq for NullSetExpression<H>
impl<H: HostTypes> SetExpression<H> for NullSetExpression<H>
impl<H: HostTypes> StructuralPartialEq for NullSetExpression<H>
impl<H: HostTypes> TermExpression<H> for NullSetExpression<H>
Auto Trait Implementations§
impl<H> Freeze for NullSetExpression<H>
impl<H> RefUnwindSafe for NullSetExpression<H>where
H: RefUnwindSafe,
impl<H> Send for NullSetExpression<H>where
H: Send,
impl<H> Sync for NullSetExpression<H>where
H: Sync,
impl<H> Unpin for NullSetExpression<H>where
H: Unpin,
impl<H> UnsafeUnpin for NullSetExpression<H>
impl<H> UnwindSafe for NullSetExpression<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