pub enum GlassesCapability {
Pose,
Camera,
WorldAnchor,
Hand,
Mic,
VendorReport,
}Expand description
Glasses-sensitive provider capability classes.
Variants§
Pose
Pose or spatial tracking samples.
Camera
Camera frame references.
WorldAnchor
Stable world-anchor observations.
Hand
Hand-ray samples.
Mic
Raw microphone chunk references.
VendorReport
Vendor diagnostics, off unless explicitly granted.
Implementations§
Source§impl GlassesCapability
impl GlassesCapability
Sourcepub fn local_name(self) -> &'static str
pub fn local_name(self) -> &'static str
Stable local token after the glasses/ prefix.
Sourcepub fn capability_name(self) -> CapabilityName
pub fn capability_name(self) -> CapabilityName
Kernel capability value.
Sourcepub fn grant_symbol(self) -> Symbol
pub fn grant_symbol(self) -> Symbol
Visible consent grant symbol carried by a receipt.
Trait Implementations§
Source§impl Clone for GlassesCapability
impl Clone for GlassesCapability
Source§fn clone(&self) -> GlassesCapability
fn clone(&self) -> GlassesCapability
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 GlassesCapability
Source§impl Debug for GlassesCapability
impl Debug for GlassesCapability
impl Eq for GlassesCapability
Source§impl PartialEq for GlassesCapability
impl PartialEq for GlassesCapability
impl StructuralPartialEq for GlassesCapability
Auto Trait Implementations§
impl Freeze for GlassesCapability
impl RefUnwindSafe for GlassesCapability
impl Send for GlassesCapability
impl Sync for GlassesCapability
impl Unpin for GlassesCapability
impl UnsafeUnpin for GlassesCapability
impl UnwindSafe for GlassesCapability
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