pub struct CommandHandlerMatchingRule<TCommandHandler: ICommandHandler + 'static> {
pub command_regex: CommandDetectionRegex,
pub pd: PhantomData<TCommandHandler>,
}
Fields§
§command_regex: CommandDetectionRegex
§pd: PhantomData<TCommandHandler>
Trait Implementations§
Source§impl<TCommandHandler: Clone + ICommandHandler + 'static> Clone for CommandHandlerMatchingRule<TCommandHandler>
impl<TCommandHandler: Clone + ICommandHandler + 'static> Clone for CommandHandlerMatchingRule<TCommandHandler>
Source§fn clone(&self) -> CommandHandlerMatchingRule<TCommandHandler>
fn clone(&self) -> CommandHandlerMatchingRule<TCommandHandler>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<TCommandHandler: ICommandHandler + 'static> ICommandHandlerMatchingRule for CommandHandlerMatchingRule<TCommandHandler>
impl<TCommandHandler: ICommandHandler + 'static> ICommandHandlerMatchingRule for CommandHandlerMatchingRule<TCommandHandler>
fn get_command_regex(&self) -> &CommandDetectionRegex
fn get_command_handler_id(&self) -> CommandHandlerId
Auto Trait Implementations§
impl<TCommandHandler> Freeze for CommandHandlerMatchingRule<TCommandHandler>
impl<TCommandHandler> RefUnwindSafe for CommandHandlerMatchingRule<TCommandHandler>where
TCommandHandler: RefUnwindSafe,
impl<TCommandHandler> Send for CommandHandlerMatchingRule<TCommandHandler>
impl<TCommandHandler> Sync for CommandHandlerMatchingRule<TCommandHandler>
impl<TCommandHandler> Unpin for CommandHandlerMatchingRule<TCommandHandler>where
TCommandHandler: Unpin,
impl<TCommandHandler> UnwindSafe for CommandHandlerMatchingRule<TCommandHandler>where
TCommandHandler: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more