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 ToString for cc_string

source§

fn to_string(&self) -> String

Converts the given value to a String. Read more