#[repr(C)]pub struct dstr {
pub array: *mut c_char,
pub len: usize,
pub capacity: usize,
}
Fields§
§array: *mut c_char
§len: usize
§capacity: usize
Trait Implementations§
Source§impl Ord for dstr
impl Ord for dstr
Source§impl PartialOrd for dstr
impl PartialOrd for dstr
impl Copy for dstr
impl Eq for dstr
impl StructuralPartialEq for dstr
Auto Trait Implementations§
impl Freeze for dstr
impl RefUnwindSafe for dstr
impl !Send for dstr
impl !Sync for dstr
impl Unpin for dstr
impl UnwindSafe for dstr
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