Skip to main content

CMarkItemWithNote

Trait CMarkItemWithNote 

Source
pub trait CMarkItemWithNote {
    // Required method
    fn with_note(self, note: Cow<'static, str>) -> Arc<CMarkItem>;
}
Expand description

A helper trait to mark an event with the specified note.

Required Methods§

Source

fn with_note(self, note: Cow<'static, str>) -> Arc<CMarkItem>

Mark an event with the specified note.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CMarkItemWithNote for Arc<CMarkItem>

Source§

fn with_note(self, note: Cow<'static, str>) -> Arc<CMarkItem>

Implementors§