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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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> 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