Trait vulkanalia::prelude::v1_0::ConvertCStr[][src]

pub trait ConvertCStr {
    fn from_cstr(string: &CStr) -> Self;
fn to_cstr(&self) -> &CStr; }

A Vulkan type that can be converted to or from a borrowed C string.

Required methods

fn from_cstr(string: &CStr) -> Self[src]

Converts a borrowed C string into a value.

fn to_cstr(&self) -> &CStr[src]

Converts this value into a borrowed C string.

Loading content...

Implementors

impl ConvertCStr for ExtensionName[src]

Loading content...