Type Alias 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