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

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

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

Required methods

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

Converts a borrowed C string into a value.

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

Converts this value into a borrowed C string.

Loading content...

Implementors

impl ConvertCStr for ExtensionName[src]

Loading content...