text

Function text 

Source
pub fn text<S: Display>(text: S) -> Label
Expand description

A non-reactive view that can display text from an item that implements Display. See also label.

ยงExample

use floem::views::*;

stack((
   text("non-reactive-text"),
   text(505),
));