Skip to main content

TextContentSurface

Trait TextContentSurface 

Source
pub trait TextContentSurface: HasTextNode {
    // Provided methods
    fn text(&self, content: impl Into<String>) -> &Self { ... }
    fn content(&self) -> String { ... }
}

Provided Methods§

Source

fn text(&self, content: impl Into<String>) -> &Self

Source

fn content(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§