pub struct BrowserPlacementReport { /* private fields */ }Expand description
The result of running a browser-local placement.
Implementations§
Source§impl BrowserPlacementReport
impl BrowserPlacementReport
Sourcepub fn fragment_id(&self) -> &Symbol
pub fn fragment_id(&self) -> &Symbol
Returns the placed fragment id.
Sourcepub fn engine(&self) -> &BrowserWasmEngine
pub fn engine(&self) -> &BrowserWasmEngine
Returns the engine that ran the fragment.
Sourcepub fn lanes(&self) -> &[BrowserBridgeLane]
pub fn lanes(&self) -> &[BrowserBridgeLane]
Returns the lanes the placement carries.
Sourcepub fn output_envelopes(&self) -> &[StreamEnvelope]
pub fn output_envelopes(&self) -> &[StreamEnvelope]
Returns the output stream envelopes produced by the placement.
Sourcepub fn diagnostics(&self) -> &[Symbol]
pub fn diagnostics(&self) -> &[Symbol]
Returns the diagnostics emitted during placement.
Trait Implementations§
Source§impl Clone for BrowserPlacementReport
impl Clone for BrowserPlacementReport
Source§fn clone(&self) -> BrowserPlacementReport
fn clone(&self) -> BrowserPlacementReport
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 BrowserPlacementReport
impl Debug for BrowserPlacementReport
impl Eq for BrowserPlacementReport
Source§impl PartialEq for BrowserPlacementReport
impl PartialEq for BrowserPlacementReport
Source§fn eq(&self, other: &BrowserPlacementReport) -> bool
fn eq(&self, other: &BrowserPlacementReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrowserPlacementReport
Auto Trait Implementations§
impl Freeze for BrowserPlacementReport
impl RefUnwindSafe for BrowserPlacementReport
impl Send for BrowserPlacementReport
impl Sync for BrowserPlacementReport
impl Unpin for BrowserPlacementReport
impl UnsafeUnpin for BrowserPlacementReport
impl UnwindSafe for BrowserPlacementReport
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