Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

write_layout

Write values to the world storage.

Arguments

  • model - the model selector.
  • key - the object key.
  • values - the object values.
  • offset - the start of object values in the values parameter.
  • layout - the object values layout.

Fully qualified path: dojo::storage::layout::write_layout

pub fn write_layout(
    model: felt252, key: felt252, values: Span<felt252>, ref offset: u32, layout: Layout,
)