bioneer
- Bionic Reading LibraryThe bioneer
crate is a Rust port of the JavaScript library text-vide, providing a bionic reading library for converting text into a bionic reading format. This library enhances the readability and comprehension of text by applying formatting techniques. It provides a trait for bionifying strings.
Add the following dependency to your Cargo.toml
file:
toml
[dependencies]
bioneer = "0.1.1"
Import the necessary items into your Rust code:
rust
use bioneer::Bionify;
The Bionify
trait provides a method for bionifying strings.
fn bionify(&self) -> String
This method converts the implementing string into a bionic reading format.
```rust use bioneer::Bionify;
let text = "Hello, world!"; let bionifiedtext = text.bionify(); println!("{}", bionifiedtext); // "Hello, World!" ``` Hello, World!
This crate is distributed under the terms of the MIT license. See the LICENSE file for details.