[−][src]Trait ascesis::CompilableAsContent
Required methods
fn get_compiled_content(
&self,
ctx: &Arc<Mutex<Context>>
) -> Result<PartialContent, Box<dyn Error + 'static>>
&self,
ctx: &Arc<Mutex<Context>>
) -> Result<PartialContent, Box<dyn Error + 'static>>
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
.
Provided methods
Loading content...Implementors
impl CompilableAsContent for ImmediateDef
[src]
fn get_compiled_content(
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
[src]
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
fn check_dependencies(&self, ctx: &ContextHandle) -> Option<String>
[src]
impl CompilableAsContent for Rex
[src]
fn check_dependencies(&self, ctx: &ContextHandle) -> Option<String>
[src]
fn get_compiled_content(
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
[src]
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
impl CompilableAsContent for ThinArrowRule
[src]
fn get_compiled_content(
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>
[src]
&self,
ctx: &ContextHandle
) -> Result<PartialContent, Box<dyn Error>>