pub struct FormFactor(/* private fields */);Expand description
See XrFormFactor
Implementations§
Source§impl FormFactor
impl FormFactor
pub const HEAD_MOUNTED_DISPLAY: FormFactor
pub const HANDHELD_DISPLAY: FormFactor
pub fn from_raw(x: i32) -> FormFactor
pub fn into_raw(self) -> i32
Trait Implementations§
Source§impl Clone for FormFactor
impl Clone for FormFactor
Source§fn clone(&self) -> FormFactor
fn clone(&self) -> FormFactor
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 FormFactor
Source§impl Debug for FormFactor
impl Debug for FormFactor
impl Eq for FormFactor
Source§impl PartialEq for FormFactor
impl PartialEq for FormFactor
Source§fn eq(&self, other: &FormFactor) -> bool
fn eq(&self, other: &FormFactor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormFactor
Auto Trait Implementations§
impl Freeze for FormFactor
impl RefUnwindSafe for FormFactor
impl Send for FormFactor
impl Sync for FormFactor
impl Unpin for FormFactor
impl UnsafeUnpin for FormFactor
impl UnwindSafe for FormFactor
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