#[repr(C)]pub struct GritShared {
pub sharedMode: echar,
pub logMode: echar,
pub tilePath: *mut c_char,
pub symName: *mut c_char,
pub dstPath: *mut c_char,
pub gfxBpp: u8_,
pub dib: *mut CLDIB,
pub palRec: RECORD,
}Expand description
! Struct for shared information
Fields§
!< Main mode.
logMode: echar!< Logging level
tilePath: *mut c_char!< Path to external tileset (can be NULL)
symName: *mut c_char!< Shared symbol name
dstPath: *mut c_char!< Path to shared datastore (can be NULL)
gfxBpp: u8_!< Bitdepth for shared graphics (unused for now)
dib: *mut CLDIB!< External tileset DIB (can be NULL)
palRec: RECORD!< Shared palette (unused for now)
Trait Implementations§
Source§fn clone(&self) -> GritShared
fn clone(&self) -> GritShared
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 moreAuto Trait Implementations§
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