pub struct GuiPanelInfo {
pub id: GuiPanelId,
pub display_name: String,
pub pose: Pose,
pub size: GuiPanelSize,
pub content_type: GuiPanelContentType,
pub content_uri: String,
pub served: Option<GuiPanelServedContent>,
pub state: GuiPanelState,
pub visible_to: Vec<PeerId>,
}Expand description
Snapshot of a QarGuiPanel.
Fields§
§id: GuiPanelId§display_name: String§pose: Pose§size: GuiPanelSize§content_type: GuiPanelContentTypeWhich content the panel shows; fixed at creation.
content_uri: StringThe page shown, for GuiPanelContentType::WebsiteUri; empty otherwise.
served: Option<GuiPanelServedContent>The bundle page shown, for GuiPanelContentType::Served; None otherwise.
state: GuiPanelState§visible_to: Vec<PeerId>Trait Implementations§
Source§impl Clone for GuiPanelInfo
impl Clone for GuiPanelInfo
Source§impl Debug for GuiPanelInfo
impl Debug for GuiPanelInfo
Source§impl PartialEq for GuiPanelInfo
impl PartialEq for GuiPanelInfo
impl StructuralPartialEq for GuiPanelInfo
Auto Trait Implementations§
impl Freeze for GuiPanelInfo
impl RefUnwindSafe for GuiPanelInfo
impl Send for GuiPanelInfo
impl Sync for GuiPanelInfo
impl Unpin for GuiPanelInfo
impl UnsafeUnpin for GuiPanelInfo
impl UnwindSafe for GuiPanelInfo
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