Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

read_model_member

Read a model member value.

Arguments

  • model_selector - the model selector
  • entity_id - the ID of the entity for which to read a member.
  • member_id - the selector of the model member to read.
  • layout - the model layout

Fully qualified path: dojo::storage::entity_model::read_model_member

pub fn read_model_member(
    model_selector: felt252, entity_id: felt252, member_id: felt252, layout: Layout,
) -> Span<felt252>