Struct arma_rs::ExtensionBuilder
source · [−]pub struct ExtensionBuilder { /* private fields */ }Expand description
Used to build an extension.
Implementations
sourceimpl ExtensionBuilder
impl ExtensionBuilder
sourcepub fn group<S>(self, name: S, group: Group) -> Self where
S: Into<String>,
pub fn group<S>(self, name: S, group: Group) -> Self where
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"
``Auto Trait Implementations
impl !RefUnwindSafe for ExtensionBuilder
impl !Send for ExtensionBuilder
impl !Sync for ExtensionBuilder
impl Unpin for ExtensionBuilder
impl !UnwindSafe for ExtensionBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more