pub trait FragmentGeomDescExt {
    // Required method
    fn as_regex(&self) -> Result<FragmentRegexDesc, Error>;
}
Expand description

Extension methods for FragmentGeomDesc

Required Methods§

source

fn as_regex(&self) -> Result<FragmentRegexDesc, Error>

Return a FragmentRegexDesc corresponding to the current FragmentGeomDesc. This function returns a Result that is Ok(FragmentRegexDesc) if the FragmentRegexDesc could be succesfully created and an Err(anyhow::Error) otherwise.

Implementations on Foreign Types§

source§

impl FragmentGeomDescExt for FragmentGeomDesc

source§

fn as_regex(&self) -> Result<FragmentRegexDesc, Error>

Return a FragmentRegexDesc corresponding to the current FragmentGeomDesc. This function returns a Result that is Ok(FragmentRegexDesc) if the FragmentRegexDesc could be succesfully created and an Err(anyhow::Error) otherwise.

Implementors§