pub struct GuestCall {
pub function: Ident,
pub variant: Ident,
pub inputs: Vec<Input>,
pub output: Option<Type>,
}Expand description
One call as the guest sees it.
Fields§
§function: IdentThe Rust function, which is the catalog name without LVGL’s prefix.
variant: IdentThe call enum’s variant.
inputs: Vec<Input>§output: Option<Type>The guest type of the result, if the call returns one.
Implementations§
Auto Trait Implementations§
impl Freeze for GuestCall
impl RefUnwindSafe for GuestCall
impl !Send for GuestCall
impl !Sync for GuestCall
impl Unpin for GuestCall
impl UnsafeUnpin for GuestCall
impl UnwindSafe for GuestCall
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