[][src]Trait vulkanalia::vk::ConvertCStr

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

Converts a borrowed C string into a value.

fn to_cstr(&self) -> &CStr

Converts this value into a borrowed C string.

Loading content...

Implementors

impl ConvertCStr for ExtensionName[src]

Loading content...