pub trait BackendTextNode {
    type BaseBackend: Backend;

    // Required method
    fn set_text(&mut self, content: &str);
}
Expand description

The text node in the backend.

This is used by the backend implementor. In most cases, it should not be used in component implementors.

Required Associated Types§

source

type BaseBackend: Backend

The related backend type.

Required Methods§

source

fn set_text(&mut self, content: &str)

Set the text content.

Implementors§