pub struct ParametricWriteRange {
pub account_index: u8,
pub base_offset: u32,
pub stride: u32,
pub cell_size: u32,
pub count: u32,
pub argument_index: u8,
pub argument_name: &'static str,
pub segment_name: &'static str,
}Expand description
A runtime-selected fixed-size cell inside a statically declared column.
The static WriteRange remains the conservative envelope used by
tooling. This descriptor narrows that envelope for one invocation to
base_offset + args[argument_index] * stride .. + cell_size.
Fields§
§account_index: u8Instruction account-list index this column belongs to.
base_offset: u32Absolute offset of element zero.
stride: u32Byte distance between consecutive elements.
cell_size: u32Writable bytes in the selected element.
count: u32Number of cells in the column.
argument_index: u8Index into the invocation’s bound u32 policy arguments.
argument_name: &'static strStable instruction-argument name for manifests and diagnostics.
segment_name: &'static strStable state segment/field name for manifests and diagnostics.
Implementations§
Trait Implementations§
Source§impl Clone for ParametricWriteRange
impl Clone for ParametricWriteRange
impl Copy for ParametricWriteRange
Source§impl Debug for ParametricWriteRange
impl Debug for ParametricWriteRange
impl Eq for ParametricWriteRange
Source§impl PartialEq for ParametricWriteRange
impl PartialEq for ParametricWriteRange
impl StructuralPartialEq for ParametricWriteRange
Auto Trait Implementations§
impl Freeze for ParametricWriteRange
impl RefUnwindSafe for ParametricWriteRange
impl Send for ParametricWriteRange
impl Sync for ParametricWriteRange
impl Unpin for ParametricWriteRange
impl UnsafeUnpin for ParametricWriteRange
impl UnwindSafe for ParametricWriteRange
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