Trait webidl_utils::extend::ExtendDocstring

source ·
pub trait ExtendDocstring {
    // Required methods
    fn new(s: &str) -> Self;
    fn as_str(&self) -> &str;
}
Expand description

Extension methods for Docstring

Required Methods§

source

fn new(s: &str) -> Self

source

fn as_str(&self) -> &str

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ExtendDocstring for Docstring

source§

fn new(s: &str) -> Self

source§

fn as_str(&self) -> &str

Implementors§