#[repr(C)]pub struct ovrLayerHeader {
pub _align: [isize; 0],
pub Type: ovrLayerType,
pub Flags: c_uint,
}Expand description
Defines properties shared by all ovrLayer structs, such as ovrLayerEyeFov.
ovrLayerHeader is used as a base member in these larger structs.
This struct cannot be used by itself except for the case that Type is ovrLayerType_Disabled.
Fields§
§_align: [isize; 0]§Type: ovrLayerTypeDescribed by ovrLayerType.
Flags: c_uintDescribed by ovrLayerFlags.
Trait Implementations§
Source§impl Clone for ovrLayerHeader
impl Clone for ovrLayerHeader
Source§fn clone(&self) -> ovrLayerHeader
fn clone(&self) -> ovrLayerHeader
Returns a duplicate 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 ovrLayerHeader
impl Debug for ovrLayerHeader
impl Copy for ovrLayerHeader
Auto Trait Implementations§
impl Freeze for ovrLayerHeader
impl RefUnwindSafe for ovrLayerHeader
impl Send for ovrLayerHeader
impl Sync for ovrLayerHeader
impl Unpin for ovrLayerHeader
impl UnwindSafe for ovrLayerHeader
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