#[repr(C)]pub struct pm_string_t {
    pub source: *const u8,
    pub length: usize,
    pub type_: pm_string_t__bindgen_ty_1,
}Expand description
A generic string type that can have various ownership semantics.
Fields§
§source: *const u8A pointer to the start of the string.
length: usizeThe length of the string in bytes of memory.
type_: pm_string_t__bindgen_ty_1Trait Implementations§
Source§impl Clone for pm_string_t
 
impl Clone for pm_string_t
Source§fn clone(&self) -> pm_string_t
 
fn clone(&self) -> pm_string_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for pm_string_t
 
impl Debug for pm_string_t
Source§impl Default for pm_string_t
 
impl Default for pm_string_t
impl Copy for pm_string_t
Auto Trait Implementations§
impl Freeze for pm_string_t
impl RefUnwindSafe for pm_string_t
impl !Send for pm_string_t
impl !Sync for pm_string_t
impl Unpin for pm_string_t
impl UnwindSafe for pm_string_t
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