Struct mariadb_sys::String
source · #[repr(C)]pub struct String {
pub _base: Charset,
pub _base_1: Binary_string,
}
Fields§
§_base: Charset
§_base_1: Binary_string
Implementations§
source§impl String
impl String
pub unsafe fn set_ascii( &mut self, str_: *const c_char, arg_length: usize ) -> bool
pub unsafe fn set_int( &mut self, num: longlong, unsigned_flag: bool, cs: *const charset_info_st ) -> bool
pub unsafe fn set_real( &mut self, num: f64, decimals: uint, cs: *const charset_info_st ) -> bool
pub unsafe fn needs_conversion( arg_length: usize, cs_from: *const charset_info_st, cs_to: *const charset_info_st, offset: *mut uint32 ) -> bool
pub unsafe fn needs_conversion_on_storage( arg_length: usize, cs_from: *const charset_info_st, cs_to: *const charset_info_st ) -> bool
pub unsafe fn copy_aligned( &mut self, s: *const c_char, arg_length: usize, offset: usize, cs: *const charset_info_st ) -> bool
pub unsafe fn set_or_copy_aligned( &mut self, s: *const c_char, arg_length: usize, cs: *const charset_info_st ) -> bool
pub unsafe fn copy( &mut self, s: *const c_char, arg_length: usize, csfrom: *const charset_info_st, csto: *const charset_info_st, errors: *mut uint ) -> bool
pub unsafe fn append(&mut self, s: *const c_char, size: usize) -> bool
pub unsafe fn append_parenthesized(&mut self, nr: c_long, radix: c_int) -> bool
pub unsafe fn append1( &mut self, s: *const c_char, arg_length: usize, cs: *const charset_info_st ) -> bool
pub unsafe fn strip_sp(&mut self)
pub unsafe fn print(&self, to: *mut String)
pub unsafe fn print_with_conversion( &self, to: *mut String, cs: *const charset_info_st )
pub unsafe fn append_for_single_quote( &mut self, st: *const c_char, len: usize ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for String
impl !Send for String
impl !Sync for String
impl Unpin for String
impl UnwindSafe for String
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