Skip to main content

ListEntry

Trait ListEntry 

Source
pub trait ListEntry: WriteEntry { }
Expand description

What a list can hold: any Display value, or a ListItem.

Implemented by this crate only: every Display type and ListItem already are.

discord.js counterpart: an item of unorderedList and orderedList (@discordjs/formatters).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: WriteEntry + ?Sized> ListEntry for T