#[repr(C)]pub struct QarGuiPanelServedContentExt {
pub header: QarStructureHeader,
pub bundle: QarPanelContentBundleId,
pub entry: *const c_char,
}Expand description
@brief Extension that creates a GUI panel showing a page of a content bundle.
Chain this structure from QarGuiPanelInit::header.next. Only the bundle’s publisher may assign it: a bundle another session published fails with QAR_STATUS_PANEL_CONTENT_NOT_PUBLISHER. The entry is copied during the call.
Fields§
§header: QarStructureHeader§bundle: QarPanelContentBundleId§entry: *const c_charPath of the page inside the bundle, e.g. “inspector/index.html”.
Trait Implementations§
Source§impl Clone for QarGuiPanelServedContentExt
impl Clone for QarGuiPanelServedContentExt
impl Copy for QarGuiPanelServedContentExt
Source§impl Debug for QarGuiPanelServedContentExt
impl Debug for QarGuiPanelServedContentExt
impl StructuralPartialEq for QarGuiPanelServedContentExt
Auto Trait Implementations§
impl !Send for QarGuiPanelServedContentExt
impl !Sync for QarGuiPanelServedContentExt
impl Freeze for QarGuiPanelServedContentExt
impl RefUnwindSafe for QarGuiPanelServedContentExt
impl Unpin for QarGuiPanelServedContentExt
impl UnsafeUnpin for QarGuiPanelServedContentExt
impl UnwindSafe for QarGuiPanelServedContentExt
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