#[repr(C)]pub struct XPLMCreateMapLayer_t {
pub structSize: c_int,
pub mapToCreateLayerIn: *const c_char,
pub layerType: XPLMMapLayerType,
pub willBeDeletedCallback: XPLMMapWillBeDeletedCallback_f,
pub prepCacheCallback: XPLMMapPrepareCacheCallback_f,
pub drawCallback: XPLMMapDrawingCallback_f,
pub iconCallback: XPLMMapIconDrawingCallback_f,
pub labelCallback: XPLMMapLabelDrawingCallback_f,
pub showUiToggle: c_int,
pub layerName: *const c_char,
pub refcon: *mut c_void,
}Fields§
§structSize: c_int§mapToCreateLayerIn: *const c_char§layerType: XPLMMapLayerType§willBeDeletedCallback: XPLMMapWillBeDeletedCallback_f§prepCacheCallback: XPLMMapPrepareCacheCallback_f§drawCallback: XPLMMapDrawingCallback_f§iconCallback: XPLMMapIconDrawingCallback_f§labelCallback: XPLMMapLabelDrawingCallback_f§showUiToggle: c_int§layerName: *const c_char§refcon: *mut c_voidTrait Implementations§
Source§impl Clone for XPLMCreateMapLayer_t
impl Clone for XPLMCreateMapLayer_t
Source§fn clone(&self) -> XPLMCreateMapLayer_t
fn clone(&self) -> XPLMCreateMapLayer_t
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 XPLMCreateMapLayer_t
impl Debug for XPLMCreateMapLayer_t
impl Copy for XPLMCreateMapLayer_t
Auto Trait Implementations§
impl Freeze for XPLMCreateMapLayer_t
impl RefUnwindSafe for XPLMCreateMapLayer_t
impl !Send for XPLMCreateMapLayer_t
impl !Sync for XPLMCreateMapLayer_t
impl Unpin for XPLMCreateMapLayer_t
impl UnwindSafe for XPLMCreateMapLayer_t
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