Enum nanovg::CreateFontError [−][src]
pub enum CreateFontError { CStringError, InvalidPath, InvalidHandle, }
Variants
CStringError
Conversion from a Rust-utf8-string to a CString failed.
InvalidPath
A specified path is invalid somehow.
InvalidHandle
The font handle returned by the ffi functions is invalid.
Trait Implementations
impl Debug for CreateFontError
[src]
impl Debug for CreateFontError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<NulError> for CreateFontError
[src]
impl From<NulError> for CreateFontError
Auto Trait Implementations
impl Send for CreateFontError
impl Send for CreateFontError
impl Sync for CreateFontError
impl Sync for CreateFontError