Struct prql_compiler::Context
source · [−]pub struct Context { /* private fields */ }
Expand description
Context of the pipeline.
Implementations
sourceimpl Context
impl Context
pub fn declare(&mut self, dec: Declaration, span: Option<Span>) -> usize
pub fn declare_func(&mut self, func_def: FuncDef) -> usize
pub fn declare_table(&mut self, t: &mut TableRef)
pub fn declare_func_param(&mut self, node: &Node) -> usize
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Context
impl<'de> Deserialize<'de> for Context
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more