#[non_exhaustive]pub struct PredicateForms {
pub census: FormCensus,
pub layout: Layout,
pub predicates: RecordFacet,
pub origin: String,
}Expand description
The forms of a predicate facet, with what a host needs to bind
a predicate of any of them: a forms value.
Built once, when a program is built, by reading every predicate
of the facet. A host prepares one statement per form of
census from the form’s template, compiles the
form’s binder against layout
(form.binder(&forms.layout)), and keeps both by the form’s
index. A form whose binder cannot be compiled is that call’s
error, with form.count() predicates behind it; nothing here
refuses it. The strata the facet publishes are
census.strata().
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.census: FormCensusEvery distinct form of the facet’s predicates, with its template and count, and the form of the predicate at each ordinal.
layout: LayoutThe layout of the metadata records the predicates select among, which types each condition’s field.
predicates: RecordFacetThe predicates themselves: the record of the predicate at an ordinal is what a form’s binder binds.
origin: StringThe dataset and profile, for diagnostics.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PredicateForms
impl !RefUnwindSafe for PredicateForms
impl !UnwindSafe for PredicateForms
impl Forget for PredicateForms
impl Move for PredicateForms
impl Send for PredicateFormswhere
RawVecInner: Send,
NodeRef<Owned, (String, Access), SetValZST, LeafOrInternal>: Send,
BoxRaw<((String, Access), SetValZST)>: Send,
NodeRef<Owned, String, u64, LeafOrInternal>: Send,
BoxRaw<(String, u64)>: Send,
RawTable<(String, usize)>: Send,
NodeRef<Owned, &'static str, usize, LeafOrInternal>: Send,
BoxRaw<(&'static str, usize)>: Send,
RawTable<usize>: Send,
BoxRaw<BindType>: Send,
BoxRaw<dyn RecordContainer>: Send,
OnceLock<Vec<u64>>: Send,
impl Sync for PredicateFormswhere
RawVecInner: Sync,
NodeRef<Owned, (String, Access), SetValZST, LeafOrInternal>: Sync,
BoxRaw<((String, Access), SetValZST)>: Sync,
NodeRef<Owned, String, u64, LeafOrInternal>: Sync,
BoxRaw<(String, u64)>: Sync,
RawTable<(String, usize)>: Sync,
NodeRef<Owned, &'static str, usize, LeafOrInternal>: Sync,
BoxRaw<(&'static str, usize)>: Sync,
RawTable<usize>: Sync,
BoxRaw<BindType>: Sync,
BoxRaw<dyn RecordContainer>: Sync,
OnceLock<Vec<u64>>: Sync,
impl Unpin for PredicateFormswhere
*const u8 is !null: Unpin,
*const LeafNode<(String, Access), SetValZST> is !null: Unpin,
Box<((String, Access), SetValZST)>: Unpin,
*const LeafNode<String, u64> is !null: Unpin,
Box<(String, u64)>: Unpin,
*const LeafNode<&'static str, usize> is !null: Unpin,
Box<(&'static str, usize)>: Unpin,
Box<BindType>: Unpin,
Box<dyn RecordContainer>: Unpin,
Align4<u32>: Unpin,
impl UnsafeUnpin for PredicateFormswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PredicateForm>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
*const LeafNode<&'static str, usize> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(&'static str, usize)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(u32, Option<u32>)>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, MValue>>: UnsafeUnpin,
PhantomData<BindType>: UnsafeUnpin,
PhantomData<Nullability>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Box<dyn RecordContainer>>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<Vec<u64>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more