pub struct PortableRotation {
prepared: PreparedRotation,
executable: PortableExecutable,
trace: Option<DecisionTraceTarget>,
}Expand description
Portable bytecode rotation and its reusable register runtime.
Fields§
§prepared: PreparedRotation§executable: PortableExecutable§trace: Option<DecisionTraceTarget>Implementations§
Source§impl PortableRotation
impl PortableRotation
pub(super) fn compile(prepared: PreparedRotation) -> Self
pub(super) fn evaluate( &mut self, buffer: &mut DenseBuffer, now_secs: f64, ) -> EvalResult
pub(super) fn schema(&self) -> &ContextSchema
pub(super) const fn prepared(&self) -> &PreparedRotation
pub(super) fn set_trace(&mut self, sink: DecisionTraceTarget)
pub(super) const fn has_trace(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PortableRotation
impl !RefUnwindSafe for PortableRotation
impl Send for PortableRotation
impl Sync for PortableRotation
impl Unpin for PortableRotation
impl UnsafeUnpin for PortableRotation
impl !UnwindSafe for PortableRotation
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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