slack_blocks_render::visitor

Trait Visitable

Source
pub trait Visitable {
    // Required method
    fn apply(&self, visitor: &mut impl Visitor);
}

Required Methods§

Source

fn apply(&self, visitor: &mut impl Visitor)

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.

Implementations on Foreign Types§

Source§

impl Visitable for SlackBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackBlockText

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackActionsBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackBlockImageElement

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackBlockMarkDownText

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackBlockPlainText

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackContextBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackDividerBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackFileBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackHeaderBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackImageBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackInputBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Source§

impl Visitable for SlackSectionBlock

Source§

fn apply(&self, visitor: &mut impl Visitor)

Implementors§