abstract_sdk/base/features/dependencies.rs
use crate::{base::Handler, std::objects::dependency::StaticDependency};
/// Retrieve the dependencies of a module.
pub trait Dependencies: Sized {
/// Get the dependencies of the module.
fn dependencies(&self) -> &'static [StaticDependency];
}
impl<T: Handler> Dependencies for T {
fn dependencies(&self) -> &'static [StaticDependency] {
Handler::dependencies(self)
}
}