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: StructureTypenext: *mut c_voidview_state_flags: ViewStateFlagsImplementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more