Trait seq_geom_xform::FragmentGeomDescExt
source · pub trait FragmentGeomDescExt {
// Required method
fn as_regex(&self) -> Result<FragmentRegexDesc, Error>;
}
Expand description
Extension methods for FragmentGeomDesc
Required Methods§
sourcefn as_regex(&self) -> Result<FragmentRegexDesc, Error>
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.