pub struct TextComponent {
pub text: String,
pub reveal: f64,
pub visible: bool,
}Expand description
Centered question / message text with progressive decode reveal.
Fields§
§text: String§reveal: f64§visible: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextComponent
impl RefUnwindSafe for TextComponent
impl Send for TextComponent
impl Sync for TextComponent
impl Unpin for TextComponent
impl UnsafeUnpin for TextComponent
impl UnwindSafe for TextComponent
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