MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / add_context

Method add_context

splashsurf_lib/src/io/bgeo_format.rs:829–831  ·  view source on GitHub ↗
(input: I, ctx: &'static str, other: Self)

Source from the content-addressed store, hash-verified

827
828 impl<I> ContextError<I> for BgeoParserError<I> {
829 fn add_context(input: I, ctx: &'static str, other: Self) -> Self {
830 other.with_context(input, Cow::Borrowed(ctx))
831 }
832 }
833
834 impl<I> FromExternalError<I, BgeoParserErrorKind> for BgeoParserError<I> {

Callers

nothing calls this directly

Calls 1

with_contextMethod · 0.80

Tested by

no test coverage detected