pub struct PresentationContext {
pub room_anchors: Vec<ResolvedRoomAnchor>,
}Expand description
Adapter-owned resolved spatial state needed to construct a presentation plan.
Fields§
§room_anchors: Vec<ResolvedRoomAnchor>Currently resolved room anchors. An empty list explicitly cannot satisfy world placement.
Trait Implementations§
Source§impl Clone for PresentationContext
impl Clone for PresentationContext
Source§fn clone(&self) -> PresentationContext
fn clone(&self) -> PresentationContext
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 PresentationContext
impl Debug for PresentationContext
Source§impl Default for PresentationContext
impl Default for PresentationContext
Source§fn default() -> PresentationContext
fn default() -> PresentationContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresentationContext
impl<'de> Deserialize<'de> for PresentationContext
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
Source§impl PartialEq for PresentationContext
impl PartialEq for PresentationContext
Source§fn eq(&self, other: &PresentationContext) -> bool
fn eq(&self, other: &PresentationContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PresentationContext
impl Serialize for PresentationContext
impl StructuralPartialEq for PresentationContext
Auto Trait Implementations§
impl Freeze for PresentationContext
impl RefUnwindSafe for PresentationContext
impl Send for PresentationContext
impl Sync for PresentationContext
impl Unpin for PresentationContext
impl UnsafeUnpin for PresentationContext
impl UnwindSafe for PresentationContext
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