ribir_widgets 0.4.0-alpha.62

A non-intrusive declarative GUI framework, to build modern native/wasm cross-platform applications.
Documentation
1
2
3
4
5
6
7
8
use ribir_core::prelude::*;

pub struct Label(pub PipeValue<CowArc<str>>);

impl Label {
  #[inline]
  pub fn new<K: ?Sized>(str: impl RInto<PipeValue<CowArc<str>>, K>) -> Self { Self(str.r_into()) }
}