sway-core 0.33.1

Sway core language.
Documentation
use crate::engine_threading::Engines;

use super::TypeId;

/// replace any instances of `TypeInfo::SelfType` with a provided [TypeId] `self_type`.
pub(crate) trait ReplaceSelfType {
    fn replace_self_type(&mut self, engines: Engines<'_>, self_type: TypeId);
}