Struct openxr_sys::FormFactor
source · 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) -> Self
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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FormFactor
impl Debug for FormFactor
source§impl PartialEq for FormFactor
impl PartialEq for FormFactor
source§fn eq(&self, other: &FormFactor) -> bool
fn eq(&self, other: &FormFactor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FormFactor
impl Eq for FormFactor
impl StructuralPartialEq for FormFactor
Auto Trait Implementations§
impl RefUnwindSafe for FormFactor
impl Send for FormFactor
impl Sync for FormFactor
impl Unpin 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