pub enum AnchorSpace {
Head,
World,
Screen,
Body,
Device,
}Expand description
The stable anchor spaces used by pose-free spatial scene nodes.
Variants§
Head
Head-relative content, such as a near cursor plane.
World
World-relative content, such as a pinned panel or plane.
Screen
Screen-relative content, such as a fixed overlay.
Body
Body-relative content, such as a chest-anchored toolbelt.
Device
Device-relative content, such as an accessory-aligned panel.
Implementations§
Trait Implementations§
Source§impl Clone for AnchorSpace
impl Clone for AnchorSpace
Source§fn clone(&self) -> AnchorSpace
fn clone(&self) -> AnchorSpace
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 moreimpl Copy for AnchorSpace
Source§impl Debug for AnchorSpace
impl Debug for AnchorSpace
impl Eq for AnchorSpace
Source§impl PartialEq for AnchorSpace
impl PartialEq for AnchorSpace
impl StructuralPartialEq for AnchorSpace
Auto Trait Implementations§
impl Freeze for AnchorSpace
impl RefUnwindSafe for AnchorSpace
impl Send for AnchorSpace
impl Sync for AnchorSpace
impl Unpin for AnchorSpace
impl UnsafeUnpin for AnchorSpace
impl UnwindSafe for AnchorSpace
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