Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IModelSafeDispatcherTrait

Fully qualified path: dojo::model::interface::IModelSafeDispatcherTrait

Part of the group: dispatchers

pub trait IModelSafeDispatcherTrait<T>

Trait functions

unpacked_size

Fully qualified path: dojo::model::interface::IModelSafeDispatcherTrait::unpacked_size

fn unpacked_size(self: T) -> Result<Option<u32>, Array<felt252>>

packed_size

Fully qualified path: dojo::model::interface::IModelSafeDispatcherTrait::packed_size

fn packed_size(self: T) -> Result<Option<u32>, Array<felt252>>

definition

Fully qualified path: dojo::model::interface::IModelSafeDispatcherTrait::definition

fn definition(self: T) -> Result<ModelDef, Array<felt252>>

use_legacy_storage

Fully qualified path: dojo::model::interface::IModelSafeDispatcherTrait::use_legacy_storage

fn use_legacy_storage(self: T) -> Result<bool, Array<felt252>>