[][src]Struct lvgl_codegen::CodeGen

pub struct CodeGen { /* fields omitted */ }

Implementations

impl CodeGen[src]

pub fn from(code: &str) -> Result<Self, Box<dyn Error>>[src]

pub fn get_widgets(&self) -> &Vec<LvWidget>[src]

pub fn load_func_defs(bindgen_code: &str) -> Result<Vec<LvFunc>, Box<dyn Error>>[src]

pub fn get_function_names(&self) -> Result<Vec<String>, Box<dyn Error>>[src]

Auto Trait Implementations

impl !RefUnwindSafe for CodeGen

impl !Send for CodeGen

impl !Sync for CodeGen

impl Unpin for CodeGen

impl UnwindSafe for CodeGen

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.