pub struct SurfaceDocument {
pub surface_api: u32,
pub harness_api: u32,
pub venture: VentureSurface,
pub modules: Vec<ModuleSurface>,
pub ui: Option<Value>,
}Expand description
The document GET /__surface serves: composed at Harness::build, one
entry per module in mount order, modules with an empty surface omitted.
Fields§
§surface_api: u32§harness_api: u32§venture: VentureSurface§modules: Vec<ModuleSurface>§ui: Option<Value>The mounted renderer’s build-time configuration (UiMount::describe).
Implementations§
Trait Implementations§
Source§impl Clone for SurfaceDocument
impl Clone for SurfaceDocument
Source§fn clone(&self) -> SurfaceDocument
fn clone(&self) -> SurfaceDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceDocument
impl Debug for SurfaceDocument
Source§impl<'de> Deserialize<'de> for SurfaceDocument
impl<'de> Deserialize<'de> for SurfaceDocument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SurfaceDocument
impl RefUnwindSafe for SurfaceDocument
impl Send for SurfaceDocument
impl Sync for SurfaceDocument
impl Unpin for SurfaceDocument
impl UnsafeUnpin for SurfaceDocument
impl UnwindSafe for SurfaceDocument
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