Struct arma_rs::ExtensionBuilder
source · pub struct ExtensionBuilder { /* private fields */ }Expand description
Used to build an extension.
Implementations§
source§impl ExtensionBuilder
impl ExtensionBuilder
sourcepub fn group<S>(self, name: S, group: Group) -> Selfwhere
S: Into<String>,
pub fn group<S>(self, name: S, group: Group) -> Selfwhere
S: Into<String>,
Add a group to the extension.
sourcepub const fn allow_no_args(self) -> Self
pub const fn allow_no_args(self) -> Self
Allows the extension to be called without any arguments. Example:
"my_ext" callExtension "my_func"
``