Struct necessist_core::LightContext
source · pub struct LightContext<'a> {
pub opts: &'a Necessist,
pub root: &'a Rc<PathBuf>,
pub println: &'a dyn Fn(&dyn AsRef<str>),
}Fields§
§opts: &'a Necessist§root: &'a Rc<PathBuf>§println: &'a dyn Fn(&dyn AsRef<str>)Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LightContext<'a>
impl<'a> !Send for LightContext<'a>
impl<'a> !Sync for LightContext<'a>
impl<'a> Unpin for LightContext<'a>
impl<'a> !UnwindSafe for LightContext<'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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more