[−][src]Struct odbc_api::Bit
New type wrapping u8 and binding as SQL_BIT.
If rust would guarantee the representation of bool to be an u8, bool would be the obvious
choice instead. Alas it is not and someday on some platform bool might be something else than
a u8 so let's use this new type instead.
Implementations
impl Bit[src]
Trait Implementations
impl CData for Bit[src]
pub fn cdata_type(&self) -> CDataType[src]
pub fn indicator_ptr(&self) -> *const isize[src]
pub fn value_ptr(&self) -> *const c_void[src]
pub fn buffer_length(&self) -> isize[src]
impl Clone for Bit[src]
impl Copy for Bit[src]
impl Debug for Bit[src]
impl Default for Bit[src]
impl Eq for Bit[src]
impl Input for Bit[src]
impl Ord for Bit[src]
pub fn cmp(&self, other: &Bit) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl Parameter for Bit[src]
impl PartialEq<Bit> for Bit[src]
impl PartialOrd<Bit> for Bit[src]
pub fn partial_cmp(&self, other: &Bit) -> Option<Ordering>[src]
pub fn lt(&self, other: &Bit) -> bool[src]
pub fn le(&self, other: &Bit) -> bool[src]
pub fn gt(&self, other: &Bit) -> bool[src]
pub fn ge(&self, other: &Bit) -> bool[src]
impl StructuralEq for Bit[src]
impl StructuralPartialEq for Bit[src]
Auto Trait Implementations
impl RefUnwindSafe for Bit
impl Send for Bit
impl Sync for Bit
impl Unpin for Bit
impl UnwindSafe for Bit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,