Struct rusqlite::functions::FunctionFlags [−][src]
#[repr(C)]pub struct FunctionFlags { /* fields omitted */ }
Function Flags. See sqlite3_create_function and Function Flags for details.
Implementations
impl FunctionFlags
[src]
impl FunctionFlags
[src]pub const SQLITE_UTF8: FunctionFlags
[src]
pub const SQLITE_UTF8: FunctionFlags
[src]Specifies UTF-8 as the text encoding this SQL function prefers for its parameters.
pub const SQLITE_UTF16LE: FunctionFlags
[src]
pub const SQLITE_UTF16LE: FunctionFlags
[src]Specifies UTF-16 using little-endian byte order as the text encoding this SQL function prefers for its parameters.
pub const SQLITE_UTF16BE: FunctionFlags
[src]
pub const SQLITE_UTF16BE: FunctionFlags
[src]Specifies UTF-16 using big-endian byte order as the text encoding this SQL function prefers for its parameters.
pub const SQLITE_UTF16: FunctionFlags
[src]
pub const SQLITE_UTF16: FunctionFlags
[src]Specifies UTF-16 using native byte order as the text encoding this SQL function prefers for its parameters.
pub const SQLITE_DETERMINISTIC: FunctionFlags
[src]
pub const SQLITE_DETERMINISTIC: FunctionFlags
[src]Means that the function always gives the same output when the input parameters are the same.
pub const SQLITE_DIRECTONLY: FunctionFlags
[src]
pub const SQLITE_DIRECTONLY: FunctionFlags
[src]Means that the function may only be invoked from top-level SQL.
pub const SQLITE_SUBTYPE: FunctionFlags
[src]
pub const SQLITE_SUBTYPE: FunctionFlags
[src]Indicates to SQLite that a function may call sqlite3_value_subtype()
to inspect the sub-types of its arguments.
pub const SQLITE_INNOCUOUS: FunctionFlags
[src]
pub const SQLITE_INNOCUOUS: FunctionFlags
[src]Means that the function is unlikely to cause problems even if misused.
pub const fn empty() -> FunctionFlags
[src]
pub const fn empty() -> FunctionFlags
[src]Returns an empty set of flags
pub const fn all() -> FunctionFlags
[src]
pub const fn all() -> FunctionFlags
[src]Returns the set containing all flags.
pub fn from_bits(bits: c_int) -> Option<FunctionFlags>
[src]
pub fn from_bits(bits: c_int) -> Option<FunctionFlags>
[src]Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: c_int) -> FunctionFlags
[src]
pub const fn from_bits_truncate(bits: c_int) -> FunctionFlags
[src]Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: c_int) -> FunctionFlags
[src]
pub const unsafe fn from_bits_unchecked(bits: c_int) -> FunctionFlags
[src]Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn intersects(&self, other: FunctionFlags) -> bool
[src]
pub const fn intersects(&self, other: FunctionFlags) -> bool
[src]Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: FunctionFlags) -> bool
[src]
pub const fn contains(&self, other: FunctionFlags) -> bool
[src]Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: FunctionFlags)
[src]
pub fn insert(&mut self, other: FunctionFlags)
[src]Inserts the specified flags in-place.
pub fn remove(&mut self, other: FunctionFlags)
[src]
pub fn remove(&mut self, other: FunctionFlags)
[src]Removes the specified flags in-place.
pub fn toggle(&mut self, other: FunctionFlags)
[src]
pub fn toggle(&mut self, other: FunctionFlags)
[src]Toggles the specified flags in-place.
pub fn set(&mut self, other: FunctionFlags, value: bool)
[src]
pub fn set(&mut self, other: FunctionFlags, value: bool)
[src]Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Binary for FunctionFlags
[src]
impl Binary for FunctionFlags
[src]impl BitAnd<FunctionFlags> for FunctionFlags
[src]
impl BitAnd<FunctionFlags> for FunctionFlags
[src]fn bitand(self, other: FunctionFlags) -> FunctionFlags
[src]
fn bitand(self, other: FunctionFlags) -> FunctionFlags
[src]Returns the intersection between the two sets of flags.
type Output = FunctionFlags
type Output = FunctionFlags
The resulting type after applying the &
operator.
impl BitAndAssign<FunctionFlags> for FunctionFlags
[src]
impl BitAndAssign<FunctionFlags> for FunctionFlags
[src]fn bitand_assign(&mut self, other: FunctionFlags)
[src]
fn bitand_assign(&mut self, other: FunctionFlags)
[src]Disables all flags disabled in the set.
impl BitOr<FunctionFlags> for FunctionFlags
[src]
impl BitOr<FunctionFlags> for FunctionFlags
[src]fn bitor(self, other: FunctionFlags) -> FunctionFlags
[src]
fn bitor(self, other: FunctionFlags) -> FunctionFlags
[src]Returns the union of the two sets of flags.
type Output = FunctionFlags
type Output = FunctionFlags
The resulting type after applying the |
operator.
impl BitOrAssign<FunctionFlags> for FunctionFlags
[src]
impl BitOrAssign<FunctionFlags> for FunctionFlags
[src]fn bitor_assign(&mut self, other: FunctionFlags)
[src]
fn bitor_assign(&mut self, other: FunctionFlags)
[src]Adds the set of flags.
impl BitXor<FunctionFlags> for FunctionFlags
[src]
impl BitXor<FunctionFlags> for FunctionFlags
[src]fn bitxor(self, other: FunctionFlags) -> FunctionFlags
[src]
fn bitxor(self, other: FunctionFlags) -> FunctionFlags
[src]Returns the left flags, but with all the right flags toggled.
type Output = FunctionFlags
type Output = FunctionFlags
The resulting type after applying the ^
operator.
impl BitXorAssign<FunctionFlags> for FunctionFlags
[src]
impl BitXorAssign<FunctionFlags> for FunctionFlags
[src]fn bitxor_assign(&mut self, other: FunctionFlags)
[src]
fn bitxor_assign(&mut self, other: FunctionFlags)
[src]Toggles the set of flags.
impl Clone for FunctionFlags
[src]
impl Clone for FunctionFlags
[src]fn clone(&self) -> FunctionFlags
[src]
fn clone(&self) -> FunctionFlags
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for FunctionFlags
[src]
impl Debug for FunctionFlags
[src]impl Default for FunctionFlags
[src]
impl Default for FunctionFlags
[src]fn default() -> FunctionFlags
[src]
fn default() -> FunctionFlags
[src]Returns the “default value” for a type. Read more
impl Extend<FunctionFlags> for FunctionFlags
[src]
impl Extend<FunctionFlags> for FunctionFlags
[src]fn extend<T: IntoIterator<Item = FunctionFlags>>(&mut self, iterator: T)
[src]
fn extend<T: IntoIterator<Item = FunctionFlags>>(&mut self, iterator: T)
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl FromIterator<FunctionFlags> for FunctionFlags
[src]
impl FromIterator<FunctionFlags> for FunctionFlags
[src]fn from_iter<T: IntoIterator<Item = FunctionFlags>>(
iterator: T
) -> FunctionFlags
[src]
fn from_iter<T: IntoIterator<Item = FunctionFlags>>(
iterator: T
) -> FunctionFlags
[src]Creates a value from an iterator. Read more
impl Hash for FunctionFlags
[src]
impl Hash for FunctionFlags
[src]impl LowerHex for FunctionFlags
[src]
impl LowerHex for FunctionFlags
[src]impl Not for FunctionFlags
[src]
impl Not for FunctionFlags
[src]fn not(self) -> FunctionFlags
[src]
fn not(self) -> FunctionFlags
[src]Returns the complement of this set of flags.
type Output = FunctionFlags
type Output = FunctionFlags
The resulting type after applying the !
operator.
impl Octal for FunctionFlags
[src]
impl Octal for FunctionFlags
[src]impl Ord for FunctionFlags
[src]
impl Ord for FunctionFlags
[src]impl PartialEq<FunctionFlags> for FunctionFlags
[src]
impl PartialEq<FunctionFlags> for FunctionFlags
[src]fn eq(&self, other: &FunctionFlags) -> bool
[src]
fn eq(&self, other: &FunctionFlags) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &FunctionFlags) -> bool
[src]
fn ne(&self, other: &FunctionFlags) -> bool
[src]This method tests for !=
.
impl PartialOrd<FunctionFlags> for FunctionFlags
[src]
impl PartialOrd<FunctionFlags> for FunctionFlags
[src]fn partial_cmp(&self, other: &FunctionFlags) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &FunctionFlags) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Sub<FunctionFlags> for FunctionFlags
[src]
impl Sub<FunctionFlags> for FunctionFlags
[src]fn sub(self, other: FunctionFlags) -> FunctionFlags
[src]
fn sub(self, other: FunctionFlags) -> FunctionFlags
[src]Returns the set difference of the two sets of flags.
type Output = FunctionFlags
type Output = FunctionFlags
The resulting type after applying the -
operator.
impl SubAssign<FunctionFlags> for FunctionFlags
[src]
impl SubAssign<FunctionFlags> for FunctionFlags
[src]fn sub_assign(&mut self, other: FunctionFlags)
[src]
fn sub_assign(&mut self, other: FunctionFlags)
[src]Disables all flags enabled in the set.
impl UpperHex for FunctionFlags
[src]
impl UpperHex for FunctionFlags
[src]impl Copy for FunctionFlags
[src]
impl Eq for FunctionFlags
[src]
impl StructuralEq for FunctionFlags
[src]
impl StructuralPartialEq for FunctionFlags
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionFlags
impl Send for FunctionFlags
impl Sync for FunctionFlags
impl Unpin for FunctionFlags
impl UnwindSafe for FunctionFlags
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more