pub struct RelationParsingContext<'a> {
pub extensions: &'a SimpleExtensions,
pub registry: &'a ExtensionRegistry,
pub line_no: i64,
pub line: &'a str,
}Expand description
Parsing context for relations that includes extensions, registry, and optional warning collection
Fields§
§extensions: &'a SimpleExtensions§registry: &'a ExtensionRegistry§line_no: i64§line: &'a strImplementations§
Source§impl<'a> RelationParsingContext<'a>
impl<'a> RelationParsingContext<'a>
Sourcepub fn resolve_extension_detail(
&self,
extension_name: &str,
extension_args: &ExtensionArgs,
) -> Result<Option<Any>, ParseError>
pub fn resolve_extension_detail( &self, extension_name: &str, extension_args: &ExtensionArgs, ) -> Result<Option<Any>, ParseError>
Resolve extension detail using registry. Any failure is treated as a hard parse error.
Auto Trait Implementations§
impl<'a> Freeze for RelationParsingContext<'a>
impl<'a> !RefUnwindSafe for RelationParsingContext<'a>
impl<'a> Send for RelationParsingContext<'a>
impl<'a> Sync for RelationParsingContext<'a>
impl<'a> Unpin for RelationParsingContext<'a>
impl<'a> !UnwindSafe for RelationParsingContext<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more