pub struct ContextHandle<'a, 'b, 'c, 'd, 'e> {
pub config: &'a Config,
pub modifier: &'b Modifier<'c>,
pub buffer: &'d mut Buffer,
/* private fields */
}Expand description
The context used in the Plugin::handle method.
Fields§
§config: &'a ConfigThe generator’s configuration.
modifier: &'b Modifier<'c>The modifier which will have its CSS generated.
buffer: &'d mut BufferThe buffer containing the whole generated CSS.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, 'c, 'd, 'e> Freeze for ContextHandle<'a, 'b, 'c, 'd, 'e>
impl<'a, 'b, 'c, 'd, 'e> !RefUnwindSafe for ContextHandle<'a, 'b, 'c, 'd, 'e>
impl<'a, 'b, 'c, 'd, 'e> Send for ContextHandle<'a, 'b, 'c, 'd, 'e>
impl<'a, 'b, 'c, 'd, 'e> Sync for ContextHandle<'a, 'b, 'c, 'd, 'e>
impl<'a, 'b, 'c, 'd, 'e> Unpin for ContextHandle<'a, 'b, 'c, 'd, 'e>
impl<'a, 'b, 'c, 'd, 'e> !UnwindSafe for ContextHandle<'a, 'b, 'c, 'd, 'e>
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