pub struct Text { /* private fields */ }Implementations§
Source§impl Text
impl Text
pub fn children<T>(self, value: T) -> Self
pub fn locale<T>(self, value: T) -> Self
pub fn semantics_label<T>(self, value: T) -> Self
pub fn spell_out<T>(self, value: T) -> Self
pub fn style<T>(self, value: T) -> Self
pub fn text_align<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn value<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Into<LenraComponent> for Text
impl Into<LenraComponent> for Text
Source§fn into(self) -> LenraComponent
fn into(self) -> LenraComponent
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnsafeUnpin for Text
impl UnwindSafe for Text
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