[−][src]Trait aces::CompilableAsContent
Required methods
fn get_compiled_content(
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
Get a compiled PartialContent
of self
.
Expected to return a content previously stored in the given
Context
, if possible, or to compile self
and return the
result. Expected to return error if not all dependencies of
self
are retrievable from the given Context
as a
PartialContent
.
Note: unlike compile_as_dependency()
, this function isn't
expected to store compilation result in the Context
.