pub struct BasicGhostTextRenderer;Expand description
Basic ghost text renderer
Implementations§
Trait Implementations§
Source§impl Default for BasicGhostTextRenderer
impl Default for BasicGhostTextRenderer
Source§impl GhostTextRenderer for BasicGhostTextRenderer
impl GhostTextRenderer for BasicGhostTextRenderer
Source§fn render(&self, ghost_text: &GhostText, style: GhostTextStyle) -> String
fn render(&self, ghost_text: &GhostText, style: GhostTextStyle) -> String
Render ghost text with specified styling
Source§fn get_styled_text(
&self,
ghost_text: &GhostText,
_style: GhostTextStyle,
) -> String
fn get_styled_text( &self, ghost_text: &GhostText, _style: GhostTextStyle, ) -> String
Get the styled representation of ghost text
Auto Trait Implementations§
impl Freeze for BasicGhostTextRenderer
impl RefUnwindSafe for BasicGhostTextRenderer
impl Send for BasicGhostTextRenderer
impl Sync for BasicGhostTextRenderer
impl Unpin for BasicGhostTextRenderer
impl UnwindSafe for BasicGhostTextRenderer
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