Crates.io | evcxr_runtime |
lib.rs | evcxr_runtime |
version | 1.1.0 |
source | src |
created_at | 2018-09-25 10:51:38.833117 |
updated_at | 2020-12-25 01:14:52.80048 |
description | Runtime core for the evcxr crate |
homepage | |
repository | https://github.com/google/evcxr |
max_upload_size | |
id | 86460 |
size | 15,779 |
Provides functionality that may be of use by code running inside Evcxr. In particular inside the Evcxr Jupyter kernel.
At the moment, all that's provided is functions and traits for emitting mime-typed data to Evcxr.
impl evcxr_runtime::Display for MyType {
fn evcxr_display(&self) {
evcxr_runtime::mime_type("text/html")
.text("<span style=\"color: red\">>Hello world</span>");
}
}