Struct openxr_sys::ViewState
source · #[repr(C)]pub struct ViewState {
pub ty: StructureType,
pub next: *mut c_void,
pub view_state_flags: ViewStateFlags,
}
Expand description
See XrViewState
Fields§
§ty: StructureType
§next: *mut c_void
§view_state_flags: ViewStateFlags
Implementations§
source§impl ViewState
impl ViewState
pub const TYPE: StructureType = StructureType::VIEW_STATE
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ViewState
impl !Send for ViewState
impl !Sync for ViewState
impl Unpin for ViewState
impl UnwindSafe for ViewState
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