#[repr(C)]pub struct ProgramDesc {
pub abi_version: u32,
pub states: Slice<StateDesc>,
pub windows: Slice<WindowDesc>,
pub views: Slice<ViewDesc>,
pub functions: Slice<Str>,
pub spans: Slice<SpanDesc>,
pub menus: Slice<MenuDesc>,
pub menu_frame: FrameDesc,
}Expand description
Every function returns false after a runtime call recorded why it failed.
Fields§
§abi_version: u32§states: Slice<StateDesc>§windows: Slice<WindowDesc>§views: Slice<ViewDesc>Indexed by view id.
functions: Slice<Str>Indexed by function id, for errors that name a function.
spans: Slice<SpanDesc>Indexed by span id, for errors that point at code.
The menu bar’s menus, in order.
The locals the menu items’ actions share.
Trait Implementations§
Auto Trait Implementations§
impl !Send for ProgramDesc
impl Freeze for ProgramDesc
impl RefUnwindSafe for ProgramDesc
impl Sync for ProgramDesc
impl Unpin for ProgramDesc
impl UnsafeUnpin for ProgramDesc
impl UnwindSafe for ProgramDesc
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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