Trait screeps::constants::find::FindConstant
source · pub trait FindConstant {
type Item: From<JsValue>;
// Required methods
fn convert_and_check_item(reference: JsValue) -> Self::Item;
fn find_code(&self) -> Find;
}
Expand description
Trait representing things which can be used in the ‘find’ function.
Typically used with zero-sized structs in the
find
module.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.