pub struct NullApplicationExpression<H: HostTypes> { /* private fields */ }Expand description
Phase 2 (orphan-closure) — resolver-absent default impl of ApplicationExpression<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> NullApplicationExpression<H>
impl<H: HostTypes> NullApplicationExpression<H>
Sourcepub const ABSENT: NullApplicationExpression<H>
pub const ABSENT: NullApplicationExpression<H>
Absent-value sentinel. &Self::ABSENT gives every trait-typed accessor a 'static-lifetime reference target.
Trait Implementations§
Source§impl<H: HostTypes> ApplicationExpression<H> for NullApplicationExpression<H>
impl<H: HostTypes> ApplicationExpression<H> for NullApplicationExpression<H>
Source§type Operation = NullOperation<H>
type Operation = NullOperation<H>
Associated type for
Operation.Source§type TermExpression = NullTermExpression<H>
type TermExpression = NullTermExpression<H>
Associated type for
TermExpression.Source§fn expression_operator(&self) -> &Self::Operation
fn expression_operator(&self) -> &Self::Operation
The operator in an application expression (e.g., op:add, op:neg).
Source§fn arguments(&self) -> &[Self::TermExpression]
fn arguments(&self) -> &[Self::TermExpression]
The argument list of an application expression. Non-functional: an application may take multiple arguments.
Source§impl<H: Clone + HostTypes> Clone for NullApplicationExpression<H>
impl<H: Clone + HostTypes> Clone for NullApplicationExpression<H>
Source§fn clone(&self) -> NullApplicationExpression<H>
fn clone(&self) -> NullApplicationExpression<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 NullApplicationExpression<H>
impl<H: HostTypes> Default for NullApplicationExpression<H>
Source§impl<H: PartialEq + HostTypes> PartialEq for NullApplicationExpression<H>
impl<H: PartialEq + HostTypes> PartialEq for NullApplicationExpression<H>
Source§fn eq(&self, other: &NullApplicationExpression<H>) -> bool
fn eq(&self, other: &NullApplicationExpression<H>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<H: Copy + HostTypes> Copy for NullApplicationExpression<H>
impl<H: Eq + HostTypes> Eq for NullApplicationExpression<H>
impl<H: HostTypes> StructuralPartialEq for NullApplicationExpression<H>
impl<H: HostTypes> TermExpression<H> for NullApplicationExpression<H>
Auto Trait Implementations§
impl<H> Freeze for NullApplicationExpression<H>
impl<H> RefUnwindSafe for NullApplicationExpression<H>where
H: RefUnwindSafe,
impl<H> Send for NullApplicationExpression<H>where
H: Send,
impl<H> Sync for NullApplicationExpression<H>where
H: Sync,
impl<H> Unpin for NullApplicationExpression<H>where
H: Unpin,
impl<H> UnsafeUnpin for NullApplicationExpression<H>
impl<H> UnwindSafe for NullApplicationExpression<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