pub struct NCharView {
pub is_chars: UnsafeCell<bool>,
/* private fields */
}
Fields§
§is_chars: UnsafeCell<bool>
Implementations§
source§impl NCharView
impl NCharView
pub fn len(&self) -> usize
sourcepub unsafe fn is_null_unchecked(&self, row: usize) -> bool
pub unsafe fn is_null_unchecked(&self, row: usize) -> bool
Unsafe version for [methods.is_null]
pub unsafe fn nchar_to_utf8(&self)
sourcepub unsafe fn get_inline_str_unchecked(&self, row: usize) -> Option<&InlineStr>
pub unsafe fn get_inline_str_unchecked(&self, row: usize) -> Option<&InlineStr>
Get UTF-8 string at row
.
In this method, InlineNChar will directly converted to InlineStr, which means v3 raw block will be changed in-place.
pub unsafe fn get_length_unchecked(&self, row: usize) -> Option<usize>
pub fn lengths(&self) -> Vec<Option<usize>>
pub fn max_length(&self) -> usize
sourcepub unsafe fn get_unchecked(&self, row: usize) -> Option<&str>
pub unsafe fn get_unchecked(&self, row: usize) -> Option<&str>
Get UTF-8 string at row
.
pub unsafe fn get_value_unchecked(&self, row: usize) -> BorrowedValue<'_>
pub unsafe fn get_raw_value_unchecked( &self, row: usize ) -> (Ty, u32, *const c_void)
pub fn slice(&self, range: Range<usize>) -> Option<Self>
pub fn from_iter<S: AsRef<str>, T: Into<Option<S>>, I: ExactSizeIterator<Item = T>, V: IntoIterator<Item = T, IntoIter = I>>( iter: V ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NCharView
impl !Send for NCharView
impl !Sync for NCharView
impl Unpin for NCharView
impl !UnwindSafe for NCharView
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