#[repr(C, packed(2))]pub struct RastPort {Show 32 fields
pub Layer: *mut Layer,
pub BitMap: *mut BitMap,
pub AreaPtrn: *mut UWORD,
pub TmpRas: *mut TmpRas,
pub AreaInfo: *mut AreaInfo,
pub GelsInfo: *mut GelsInfo,
pub Mask: UBYTE,
pub FgPen: BYTE,
pub BgPen: BYTE,
pub AOlPen: BYTE,
pub DrawMode: BYTE,
pub AreaPtSz: BYTE,
pub linpatcnt: BYTE,
pub dummy: BYTE,
pub Flags: UWORD,
pub LinePtrn: UWORD,
pub cp_x: WORD,
pub cp_y: WORD,
pub minterms: [UBYTE; 8],
pub PenWidth: WORD,
pub PenHeight: WORD,
pub Font: *mut TextFont,
pub AlgoStyle: UBYTE,
pub TxFlags: UBYTE,
pub TxHeight: UWORD,
pub TxWidth: UWORD,
pub TxBaseline: UWORD,
pub TxSpacing: WORD,
pub RP_User: *mut APTR,
pub longreserved: [ULONG; 2],
pub wordreserved: [UWORD; 7],
pub reserved: [UBYTE; 8],
}Fields§
§Layer: *mut Layer§BitMap: *mut BitMap§AreaPtrn: *mut UWORD§TmpRas: *mut TmpRas§AreaInfo: *mut AreaInfo§GelsInfo: *mut GelsInfo§Mask: UBYTE§FgPen: BYTE§BgPen: BYTE§AOlPen: BYTE§DrawMode: BYTE§AreaPtSz: BYTE§linpatcnt: BYTE§dummy: BYTE§Flags: UWORD§LinePtrn: UWORD§cp_x: WORD§cp_y: WORD§minterms: [UBYTE; 8]§PenWidth: WORD§PenHeight: WORD§Font: *mut TextFont§AlgoStyle: UBYTE§TxFlags: UBYTE§TxHeight: UWORD§TxWidth: UWORD§TxBaseline: UWORD§TxSpacing: WORD§RP_User: *mut APTR§longreserved: [ULONG; 2]§wordreserved: [UWORD; 7]§reserved: [UBYTE; 8]Trait Implementations§
Auto Trait Implementations§
impl Freeze for RastPort
impl RefUnwindSafe for RastPort
impl !Send for RastPort
impl !Sync for RastPort
impl Unpin for RastPort
impl UnwindSafe for RastPort
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