[−][src]Trait aces::ContentFormat
Required methods
fn expected_extensions(&self) -> &[&str]
fn script_is_acceptable(&self, script: &str) -> bool
fn script_to_content(
&self,
cxt: &ContextHandle,
script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>
&self,
cxt: &ContextHandle,
script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>
Provided methods
fn path_is_acceptable(&self, path: &Path) -> bool
Implementors
impl ContentFormat for InteractiveFormat
[src]
fn expected_extensions(&self) -> &[&str]
[src]
fn script_is_acceptable(&self, _script: &str) -> bool
[src]
fn script_to_content(
&self,
_cxt: &ContextHandle,
_script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>
[src]
&self,
_cxt: &ContextHandle,
_script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>
impl ContentFormat for YamlFormat
[src]
fn expected_extensions(&self) -> &[&str]
[src]
fn script_is_acceptable(&self, _script: &str) -> bool
[src]
fn script_to_content(
&self,
ctx: &ContextHandle,
script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>
[src]
&self,
ctx: &ContextHandle,
script: &str
) -> Result<Box<dyn Content>, Box<dyn Error>>