Skip to main content

text

Function text 

Source
pub fn text<S>(text: S) -> Label
where S: Display,
๐Ÿ‘ŽDeprecated since 0.2.0:

Use Label::new() instead

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),
));