pub trait DocApi {
// Required methods
fn value(&self) -> Option<String>;
fn set_value(&self, value: &str);
fn set_gutter_marker<H>(
&self,
line_handle: H,
id: GutterId,
el: &Element,
) -> LineHandle
where H: Into<LineHandle>;
fn clear_gutter_marker<H>(&self, line_handle: H, id: GutterId) -> LineHandle
where H: Into<LineHandle>;
fn clear_gutter(&self, id: GutterId);
}
Required Methods§
fn value(&self) -> Option<String>
fn set_value(&self, value: &str)
fn set_gutter_marker<H>(
&self,
line_handle: H,
id: GutterId,
el: &Element,
) -> LineHandlewhere
H: Into<LineHandle>,
fn clear_gutter_marker<H>(&self, line_handle: H, id: GutterId) -> LineHandlewhere
H: Into<LineHandle>,
fn clear_gutter(&self, id: GutterId)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.