Enum webxr_api::mock::MockDeviceMsg
source · pub enum MockDeviceMsg {
SetViewerOrigin(Option<RigidTransform3D<f32, Viewer, Native>>),
SetFloorOrigin(Option<RigidTransform3D<f32, Floor, Native>>),
SetViews(MockViewsInit),
AddInputSource(MockInputInit),
MessageInputSource(InputId, MockInputMsg),
VisibilityChange(Visibility),
SetWorld(MockWorld),
ClearWorld,
Disconnect(Sender<()>),
SetBoundsGeometry(Vec<Point2D<f32, Floor>>),
SimulateResetPose,
}
Variants§
SetViewerOrigin(Option<RigidTransform3D<f32, Viewer, Native>>)
SetFloorOrigin(Option<RigidTransform3D<f32, Floor, Native>>)
SetViews(MockViewsInit)
AddInputSource(MockInputInit)
MessageInputSource(InputId, MockInputMsg)
VisibilityChange(Visibility)
SetWorld(MockWorld)
ClearWorld
Disconnect(Sender<()>)
SetBoundsGeometry(Vec<Point2D<f32, Floor>>)
SimulateResetPose
Trait Implementations§
source§impl Debug for MockDeviceMsg
impl Debug for MockDeviceMsg
source§impl<'de> Deserialize<'de> for MockDeviceMsg
impl<'de> Deserialize<'de> for MockDeviceMsg
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
Auto Trait Implementations§
impl Freeze for MockDeviceMsg
impl !RefUnwindSafe for MockDeviceMsg
impl Send for MockDeviceMsg
impl !Sync for MockDeviceMsg
impl Unpin for MockDeviceMsg
impl UnwindSafe for MockDeviceMsg
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