Struct yewprint::TextProps [−][src]
pub struct TextProps {
pub ellipsize: bool,
pub children: Children,
pub class: Classes,
pub inline: bool,
pub title: Option<Cow<'static, str>>,
pub style: Option<Cow<'static, str>>,
}
Fields
ellipsize: bool
children: Children
class: Classes
inline: bool
Wrap text in span
instead of div
.
title: Option<Cow<'static, str>>
style: Option<Cow<'static, str>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TextProps
impl !UnwindSafe for TextProps
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
If self
and new
aren’t equal, assigns new
to self
and returns true, otherwise returns false. Read more