Type Alias classicube_sys::cc_string

source ·
pub type cc_string = cc_string_;

Aliased Type§

struct cc_string {
    pub buffer: *mut i8,
    pub length: u16,
    pub capacity: u16,
}

Fields§

§buffer: *mut i8§length: u16§capacity: u16

Implementations§

source§

impl cc_string

source

pub fn as_slice(&self) -> &[u8]

Trait Implementations§

source§

impl Display for cc_string

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Debug for cc_string_

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for cc_string_

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for cc_string_

source§

fn eq(&self, other: &cc_string_) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for cc_string_

source§

impl StructuralPartialEq for cc_string_