1 2 3 4 5 6 7 8 9 10
use crate::{core::copy::CopyToContainerCollection, Image}; pub trait BuildableImage { type Built: Image; fn build_context(&self) -> CopyToContainerCollection; fn descriptor(&self) -> String; fn into_image(self) -> Self::Built; }