pub(super) struct BytecodeProgram {
pub(super) instructions: Box<[Instruction]>,
register_counts: RegisterCounts,
now_register: Option<FloatRegister>,
schema: Arc<ContextSchema>,
}Fields§
§instructions: Box<[Instruction]>§register_counts: RegisterCounts§now_register: Option<FloatRegister>§schema: Arc<ContextSchema>Implementations§
Source§impl BytecodeProgram
impl BytecodeProgram
pub(super) fn new( instructions: Vec<Instruction>, register_counts: RegisterCounts, schema: Arc<ContextSchema>, ) -> Self
pub(super) const fn with_optional_now_register( self, now_register: Option<FloatRegister>, ) -> Self
pub(super) const fn register_counts(&self) -> RegisterCounts
pub(super) const fn now_register(&self) -> Option<FloatRegister>
pub(super) fn schema(&self) -> &ContextSchema
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BytecodeProgram
impl RefUnwindSafe for BytecodeProgram
impl Send for BytecodeProgram
impl Sync for BytecodeProgram
impl Unpin for BytecodeProgram
impl UnsafeUnpin for BytecodeProgram
impl UnwindSafe for BytecodeProgram
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