Struct classicube_sys::cc_string_
source · #[repr(C)]pub struct cc_string_ {
pub buffer: *mut c_char,
pub length: cc_uint16,
pub capacity: cc_uint16,
}
Fields§
§buffer: *mut c_char
§length: cc_uint16
§capacity: cc_uint16
Implementations§
Trait Implementations§
source§impl Borrow<cc_string_> for OwnedString
impl Borrow<cc_string_> for OwnedString
source§impl Debug for cc_string_
impl Debug for cc_string_
source§impl From<cc_string_> for String
impl From<cc_string_> for String
source§impl Hash for cc_string_
impl Hash for cc_string_
source§impl PartialEq for cc_string_
impl PartialEq for cc_string_
source§fn eq(&self, other: &cc_string_) -> bool
fn eq(&self, other: &cc_string_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for cc_string_
impl StructuralPartialEq for cc_string_
Auto Trait Implementations§
impl Freeze for cc_string_
impl RefUnwindSafe for cc_string_
impl !Send for cc_string_
impl !Sync for cc_string_
impl Unpin for cc_string_
impl UnwindSafe for cc_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