pub enum UiPlacement {
Screen,
HeadLocked,
World {
anchor: RoomAnchorId,
},
}Expand description
Placement requested by a semantic UI document.
Variants§
Screen
Place in the adapter’s ordinary screen layer.
HeadLocked
Place relative to the current head pose; this does not claim room anchoring.
World
Place relative to an explicitly tracked room anchor.
Fields
§
anchor: RoomAnchorIdTrait Implementations§
Source§impl Clone for UiPlacement
impl Clone for UiPlacement
Source§fn clone(&self) -> UiPlacement
fn clone(&self) -> UiPlacement
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 UiPlacement
impl Debug for UiPlacement
Source§impl<'de> Deserialize<'de> for UiPlacement
impl<'de> Deserialize<'de> for UiPlacement
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
impl Eq for UiPlacement
Source§impl PartialEq for UiPlacement
impl PartialEq for UiPlacement
Source§fn eq(&self, other: &UiPlacement) -> bool
fn eq(&self, other: &UiPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UiPlacement
impl Serialize for UiPlacement
impl StructuralPartialEq for UiPlacement
Auto Trait Implementations§
impl Freeze for UiPlacement
impl RefUnwindSafe for UiPlacement
impl Send for UiPlacement
impl Sync for UiPlacement
impl Unpin for UiPlacement
impl UnsafeUnpin for UiPlacement
impl UnwindSafe for UiPlacement
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