Skip to main content

IntoText

Trait IntoText 

Source
pub trait IntoText<M> {
    // Required method
    fn into_text(self) -> TextSource;
}
Expand description

Disjoint-marker conversion (the coherent form of §12.2’s IntoText): literals, String, Signal<String>, and closures all convert, each under its own marker.

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoText<StaticMark> for &str

Source§

impl IntoText<StaticMark> for String

Implementors§

Source§

impl IntoText<SignalMark> for Signal<String>

Source§

impl<F, S> IntoText<FnMark> for F
where F: Fn() -> S + 'static, S: Into<String>,

Day API ↩ Guides· daybrite.dev