#[non_exhaustive]pub struct RecordFragment {
pub forms: Arc<RecordForms>,
pub ordinal: u64,
}Expand description
One metadata record for a cycle, as structure: a fragment
value. Like PredicateFragment, it names the record and does
not hold its bytes; a host reads the record
(forms.records.record_shared(ordinal) or record_bytes) and
binds it through forms.binder.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.forms: Arc<RecordForms>The record facet’s one form.
ordinal: u64The record’s ordinal in the facet: a base ordinal.
Trait Implementations§
Source§impl Clone for RecordFragment
impl Clone for RecordFragment
Source§impl Debug for RecordFragment
impl Debug for RecordFragment
Source§impl Wire for RecordFragment
One metadata record as structure: a fragment wire.
impl Wire for RecordFragment
One metadata record as structure: a fragment wire.
Source§const RESOLVER: Option<DefaultResolver> = None
const RESOLVER: Option<DefaultResolver> = None
Auto-resolver (library_catalog.md “Shapes”,
Resolved<R, T>)
for Str-typed upstream wires feeding this slot. None
(the default) disables auto-promotion; the workload must
supply the wire’s actual port type directly. Set via the
Resolved<R, T> marker wrapper.Source§const WIRE_COST: WireCost = crate::ast::WireCost::Data
const WIRE_COST: WireCost = crate::ast::WireCost::Data
Cost class for this wire (library_catalog.md “Wire cost classes”).
Defaults to
WireCost::Data (cheap per-cycle input).
Set to WireCost::Config via the Config<T> marker
wrapper to signal that the wire is rarely-changing and
the compiler should warn on cycle-time binding.Auto Trait Implementations§
impl !RefUnwindSafe for RecordFragment
impl !UnwindSafe for RecordFragment
impl Forget for RecordFragment
impl Freeze for RecordFragment
impl Move for RecordFragment
impl Send for RecordFragment
impl Sync for RecordFragment
impl Unpin for RecordFragment
impl UnsafeUnpin for RecordFragmentwhere
*const ArcInner<RecordForms> is !null: UnsafeUnpin,
PhantomData<ArcInner<RecordForms>>: 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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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