pub struct RuleContext<'a> {
pub project: &'a Project,
pub services: &'a ServiceRegistry,
}Expand description
Source-neutral data and typed host services visible during one rule evaluation.
Fields§
§project: &'a ProjectImmutable composed project view.
services: &'a ServiceRegistryAdapter-provided semantic and computational capabilities.
Auto Trait Implementations§
impl<'a> Freeze for RuleContext<'a>
impl<'a> !RefUnwindSafe for RuleContext<'a>
impl<'a> Send for RuleContext<'a>
impl<'a> Sync for RuleContext<'a>
impl<'a> Unpin for RuleContext<'a>
impl<'a> !UnwindSafe for RuleContext<'a>
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