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