pub struct LocalFunctions { /* private fields */ }Implementations§
Source§impl LocalFunctions
impl LocalFunctions
pub fn collect_heads( program: &Program<'_>, trusted_sql_tags: &[TrustedSqlTag], ) -> Self
pub fn collect_heads_with_raw( program: &Program<'_>, trusted: &[TrustedSqlTag], raw: &[TrustedSqlTag], ) -> Self
pub fn has_static_helper(&self, name: &str) -> bool
pub fn collect_with_raw( program: &Program<'_>, source: &str, trusted: &[TrustedSqlTag], raw: &[TrustedSqlTag], ) -> Self
pub fn is_parameter_builder(&self, name: &str) -> bool
pub fn is_tag_shadowed(&self, name: &str) -> bool
Auto Trait Implementations§
impl Forget for LocalFunctions
impl Freeze for LocalFunctionswhere
*const u8 is !null: Freeze,
PhantomData<(String, RecoveredSql)>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
PhantomData<(String, TemplateHelper)>: Freeze,
PhantomData<(String, ParameterBuilder)>: Freeze,
PhantomData<(String, ())>: Freeze,
PhantomData<(u32, u32)>: Freeze,
PhantomData<((bool, Binding), ())>: Freeze,
PhantomData<(String, Arc<Program>)>: Freeze,
impl Move for LocalFunctions
impl RefUnwindSafe for LocalFunctions
impl Send for LocalFunctionswhere
RawTable<(String, RecoveredSql)>: Send,
RawTable<(String, Vec<String>)>: Send,
RawTable<(String, TemplateHelper)>: Send,
RawTable<(String, ParameterBuilder)>: Send,
RawTable<(String, ())>: Send,
RawTable<(u32, u32)>: Send,
RawTable<((bool, Binding), ())>: Send,
RawTable<(String, Arc<Program>)>: Send,
impl Sync for LocalFunctionswhere
RawTable<(String, RecoveredSql)>: Sync,
RawTable<(String, Vec<String>)>: Sync,
RawTable<(String, TemplateHelper)>: Sync,
RawTable<(String, ParameterBuilder)>: Sync,
RawTable<(String, ())>: Sync,
RawTable<(u32, u32)>: Sync,
RawTable<((bool, Binding), ())>: Sync,
RawTable<(String, Arc<Program>)>: Sync,
impl Unpin for LocalFunctions
impl UnsafeUnpin for LocalFunctionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, RecoveredSql)>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
PhantomData<(String, TemplateHelper)>: UnsafeUnpin,
PhantomData<(String, ParameterBuilder)>: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
PhantomData<(u32, u32)>: UnsafeUnpin,
PhantomData<((bool, Binding), ())>: UnsafeUnpin,
PhantomData<(String, Arc<Program>)>: UnsafeUnpin,
impl UnwindSafe for LocalFunctionswhere
HashMap<String, RecoveredSql, FxBuildHasher>: UnwindSafe,
HashMap<String, Vec<String>, FxBuildHasher>: UnwindSafe,
HashMap<String, TemplateHelper, FxBuildHasher>: UnwindSafe,
HashMap<String, ParameterBuilder>: UnwindSafe,
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
HashMap<u32, u32, FxBuildHasher>: UnwindSafe,
HashMap<String, Arc<Program>, FxBuildHasher>: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more