#[repr(C)]pub struct pxtnText {
pub _p_comment_buf: *mut c_char,
pub _comment_size: i32,
pub _p_name_buf: *mut c_char,
pub _name_size: i32,
}Fields§
§_p_comment_buf: *mut c_char§_comment_size: i32§_p_name_buf: *mut c_char§_name_size: i32Implementations§
Source§impl pxtnText
impl pxtnText
pub unsafe fn set_comment_buf( &mut self, p_comment: *const c_char, buf_size: i32, ) -> bool
pub unsafe fn get_comment_buf(&self, p_buf_size: *mut i32) -> *const c_char
pub unsafe fn is_comment_buf(&self) -> bool
pub unsafe fn set_name_buf( &mut self, p_name: *const c_char, buf_size: i32, ) -> bool
pub unsafe fn get_name_buf(&self, p_buf_size: *mut i32) -> *const c_char
pub unsafe fn is_name_buf(&self) -> bool
pub unsafe fn Comment_r(&mut self, p_doc: *mut pxtnDescriptor) -> bool
pub unsafe fn Comment_w(&mut self, p_doc: *mut pxtnDescriptor) -> bool
pub unsafe fn Name_r(&mut self, p_doc: *mut pxtnDescriptor) -> bool
pub unsafe fn Name_w(&mut self, p_doc: *mut pxtnDescriptor) -> bool
pub unsafe fn new() -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for pxtnText
impl RefUnwindSafe for pxtnText
impl !Send for pxtnText
impl !Sync for pxtnText
impl Unpin for pxtnText
impl UnwindSafe for pxtnText
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