Struct ayaka_bindings_types::PluginTypeBuilder
source · pub struct PluginTypeBuilder { /* private fields */ }Expand description
The builder of PluginType.
Implementations§
source§impl PluginTypeBuilder
impl PluginTypeBuilder
sourcepub fn text(self, cmds: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn text(self, cmds: impl IntoIterator<Item = impl Into<String>>) -> Self
A text plugin, which provides commands.
sourcepub fn line(self, cmds: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn line(self, cmds: impl IntoIterator<Item = impl Into<String>>) -> Self
A line plugins, which provides custom line types.
sourcepub fn build(self) -> PluginType
pub fn build(self) -> PluginType
Build a PluginType.