Struct mariadb_sys::Lex_length_and_dec_st
source · #[repr(C)]pub struct Lex_length_and_dec_st {
pub m_length: uint32,
pub m_dec: uint8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: u16,
}
Fields§
§m_length: uint32
§m_dec: uint8
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: u16
Implementations§
source§impl Lex_length_and_dec_st
impl Lex_length_and_dec_st
pub fn m_collation_type(&self) -> uint8
pub fn set_m_collation_type(&mut self, val: uint8)
pub fn m_has_explicit_length(&self) -> bool
pub fn set_m_has_explicit_length(&mut self, val: bool)
pub fn m_has_explicit_dec(&self) -> bool
pub fn set_m_has_explicit_dec(&mut self, val: bool)
pub fn m_length_overflowed(&self) -> bool
pub fn set_m_length_overflowed(&mut self, val: bool)
pub fn m_dec_overflowed(&self) -> bool
pub fn set_m_dec_overflowed(&mut self, val: bool)
pub fn new_bitfield_1( m_collation_type: uint8, m_has_explicit_length: bool, m_has_explicit_dec: bool, m_length_overflowed: bool, m_dec_overflowed: bool ) -> __BindgenBitfieldUnit<[u8; 1]>
pub unsafe fn set(&mut self, length: *const c_char, dec: *const c_char)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Lex_length_and_dec_st
impl Send for Lex_length_and_dec_st
impl Sync for Lex_length_and_dec_st
impl Unpin for Lex_length_and_dec_st
impl UnwindSafe for Lex_length_and_dec_st
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