pub struct BioReader { /* private fields */ }Expand description
A BioReader object, allowing for customizing the bio-reading experience.
Implementations§
Source§impl BioReader
impl BioReader
Sourcepub fn emphasize(&mut self, f: fn(_: &str) -> String)
pub fn emphasize(&mut self, f: fn(_: &str) -> String)
Set the function to emphasize part of a word.
Sourcepub fn de_emphasize(&mut self, f: fn(_: &str) -> String)
pub fn de_emphasize(&mut self, f: fn(_: &str) -> String)
Set the function to de-emphasize part of a word.
Sourcepub fn bio_read_word(&self, word: &str) -> String
pub fn bio_read_word(&self, word: &str) -> String
Do bio-reading on a word.
Sourcepub fn bio_read_text(&self, text: &str) -> String
pub fn bio_read_text(&self, text: &str) -> String
Do bio-reading on a piece of text.
Auto Trait Implementations§
impl Freeze for BioReader
impl RefUnwindSafe for BioReader
impl Send for BioReader
impl Sync for BioReader
impl Unpin for BioReader
impl UnwindSafe for BioReader
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