pub enum StrSrc {
Byte(Slot),
Const {
ptr: i64,
len: i64,
},
}Expand description
The source operand appended by a MicroOp::StrAppend — the right-hand side
of a Set text to text + <s> in a pinned mutable-Text build loop.
Variants§
Byte(Slot)
A single ASCII byte VALUE living in a frame slot (the Kind::TextByte
lane: text + ch where ch is a 1-char ASCII text). The helper appends
byte as char — bit-identical to the VM concatenating the 1-char Text.
Const
A constant ASCII byte slice baked into the chain (text + "XXXXX"): a
'static pointer + length. The helper appends the whole slice — identical
to the VM’s Text + Text concatenation of the literal.
Trait Implementations§
impl Copy for StrSrc
impl Eq for StrSrc
impl StructuralPartialEq for StrSrc
Auto Trait Implementations§
impl Freeze for StrSrc
impl RefUnwindSafe for StrSrc
impl Send for StrSrc
impl Sync for StrSrc
impl Unpin for StrSrc
impl UnsafeUnpin for StrSrc
impl UnwindSafe for StrSrc
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