Struct msfs::sys::ELEMENT_HEADER
source · #[repr(C, packed(4))]pub struct ELEMENT_HEADER {
pub element_type: ELEMENT_TYPE_ENUM,
pub resource_id: ID,
pub position: PIXPOINT,
pub previous_position: PIXPOINT,
pub ofs: PIXPOINT,
pub gauge_header: PGAUGEHDR,
pub previous_element: *mut ELEMENT_HEADER,
pub next_element: *mut *mut ELEMENT_HEADER,
pub failure_systems: PFAILURE_RECORD,
pub image_flags: FLAGS,
pub aircraft_special_instrumentation: FLAGS,
pub reserved: FLAGS,
}
Fields§
§element_type: ELEMENT_TYPE_ENUM
§resource_id: ID
§position: PIXPOINT
§previous_position: PIXPOINT
§ofs: PIXPOINT
§gauge_header: PGAUGEHDR
§previous_element: *mut ELEMENT_HEADER
§next_element: *mut *mut ELEMENT_HEADER
§failure_systems: PFAILURE_RECORD
§image_flags: FLAGS
§aircraft_special_instrumentation: FLAGS
§reserved: FLAGS
Trait Implementations§
source§impl Clone for ELEMENT_HEADER
impl Clone for ELEMENT_HEADER
source§fn clone(&self) -> ELEMENT_HEADER
fn clone(&self) -> ELEMENT_HEADER
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 ELEMENT_HEADER
impl Debug for ELEMENT_HEADER
impl Copy for ELEMENT_HEADER
Auto Trait Implementations§
impl RefUnwindSafe for ELEMENT_HEADER
impl !Send for ELEMENT_HEADER
impl !Sync for ELEMENT_HEADER
impl Unpin for ELEMENT_HEADER
impl UnwindSafe for ELEMENT_HEADER
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