pub enum TargetDevice {
HoloLens,
Quest,
Android,
}Expand description
The device kind a target-app connection string names
(Library::target_app_connection_string).
Variants§
HoloLens
"hololens:<host>".
Quest
"quest:<host>". An Android headset is never invited: use it with
crate::Session::find_render_target; crate::Session::invite_target_app fails with
crate::StatusCode::HUB_TARGET_APP_DEVICE_NOT_INVITABLE.
Android
"android:<host>". Like TargetDevice::Quest, for finding a joined headset only.
Trait Implementations§
Source§impl Clone for TargetDevice
impl Clone for TargetDevice
impl Copy for TargetDevice
Source§impl Debug for TargetDevice
impl Debug for TargetDevice
impl Eq for TargetDevice
Source§impl Hash for TargetDevice
impl Hash for TargetDevice
Source§impl PartialEq for TargetDevice
impl PartialEq for TargetDevice
impl StructuralPartialEq for TargetDevice
Auto Trait Implementations§
impl Freeze for TargetDevice
impl RefUnwindSafe for TargetDevice
impl Send for TargetDevice
impl Sync for TargetDevice
impl Unpin for TargetDevice
impl UnsafeUnpin for TargetDevice
impl UnwindSafe for TargetDevice
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