pub struct ContextCanHandle<'a, 'b, 'c> {
pub config: &'a Config,
pub modifier: &'b Modifier<'c>,
}Expand description
The context used in the Plugin::can_handle method.
Fields§
§config: &'a ConfigThe generator’s configuration.
modifier: &'b Modifier<'c>The modifier which will be checked.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, 'c> Freeze for ContextCanHandle<'a, 'b, 'c>
impl<'a, 'b, 'c> !RefUnwindSafe for ContextCanHandle<'a, 'b, 'c>
impl<'a, 'b, 'c> Send for ContextCanHandle<'a, 'b, 'c>
impl<'a, 'b, 'c> Sync for ContextCanHandle<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for ContextCanHandle<'a, 'b, 'c>
impl<'a, 'b, 'c> !UnwindSafe for ContextCanHandle<'a, 'b, 'c>
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