Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

delete_struct_layout

Delete a struct layout model record from the world storage.

Arguments

  • model - the model selector.
  • key - the model record key.
  • layout - list of field layouts.

Fully qualified path: dojo::storage::layout::delete_struct_layout

pub fn delete_struct_layout(model: felt252, key: felt252, layout: Span<FieldLayout>)