Skip to main content

render_with_symbol

Function render_with_symbol 

Source
pub async fn render_with_symbol(
    session: &mut PreviewSession,
    function_path: &str,
    symbol: &str,
    dylib_id: DylibId,
    dylib_path: &Path,
    width: f32,
    height: f32,
) -> Result<Vec<u8>>
Expand description

Render symbol through the support-app session, translating a missing export into an actionable #[preview] hint.

ยงErrors

Returns an error if the preview app rejects the render or the transport fails.