pub struct CallCatalog { /* private fields */ }Implementations§
Source§impl CallCatalog
impl CallCatalog
pub fn parse(source: &str) -> Result<Self, GeneratorError>
Sourcepub fn native_sets_integer(&self, name: &str) -> bool
pub fn native_sets_integer(&self, name: &str) -> bool
Whether the LVGL function name takes (object, integer), so a
generated v as _ cast from a guest word is an integer conversion.
Sourcepub fn is_integer(&self, ty: &Type) -> bool
pub fn is_integer(&self, ty: &Type) -> bool
Whether ty is a non-pointer integer, directly or through an alias.
pub fn from_signatures( signatures: Vec<Signature>, ) -> Result<Self, GeneratorError>
pub fn calls(&self) -> &[Call]
Sourcepub fn select(&self, names: &[&str]) -> Result<Vec<&Call>, GeneratorError>
pub fn select(&self, names: &[&str]) -> Result<Vec<&Call>, GeneratorError>
Select a registry subset by normalized call name without changing catalog IDs.
pub fn signatures(&self) -> Vec<Signature>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallCatalog
impl RefUnwindSafe for CallCatalog
impl !Send for CallCatalog
impl !Sync for CallCatalog
impl Unpin for CallCatalog
impl UnsafeUnpin for CallCatalog
impl UnwindSafe for CallCatalog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more