PrtInfo

Struct PrtInfo 

Source
#[repr(C, packed(2))]
pub struct PrtInfo {
Show 43 fields pub pi_render: FPTR, pub pi_rp: *mut RastPort, pub pi_temprp: *mut RastPort, pub pi_RowBuf: *mut UWORD, pub pi_HamBuf: *mut UWORD, pub pi_ColorMap: *mut colorEntry, pub pi_ColorInt: *mut colorEntry, pub pi_HamInt: *mut colorEntry, pub pi_Dest1Int: *mut colorEntry, pub pi_Dest2Int: *mut colorEntry, pub pi_ScaleX: *mut UWORD, pub pi_ScaleXAlt: *mut UWORD, pub pi_dmatrix: *mut UBYTE, pub pi_TopBuf: *mut UWORD, pub pi_BotBuf: *mut UWORD, pub pi_RowBufSize: UWORD, pub pi_HamBufSize: UWORD, pub pi_ColorMapSize: UWORD, pub pi_ColorIntSize: UWORD, pub pi_HamIntSize: UWORD, pub pi_Dest1IntSize: UWORD, pub pi_Dest2IntSize: UWORD, pub pi_ScaleXSize: UWORD, pub pi_ScaleXAltSize: UWORD, pub pi_PrefsFlags: UWORD, pub pi_special: ULONG, pub pi_xstart: UWORD, pub pi_ystart: UWORD, pub pi_width: UWORD, pub pi_height: UWORD, pub pi_pc: ULONG, pub pi_pr: ULONG, pub pi_ymult: UWORD, pub pi_ymod: UWORD, pub pi_ety: WORD, pub pi_xpos: UWORD, pub pi_threshold: UWORD, pub pi_tempwidth: UWORD, pub pi_flags: UWORD, pub pi_ReduceBuf: *mut UWORD, pub pi_ReduceBufSize: UWORD, pub pi_SourceHook: *mut Hook, pub pi_InvertHookBuf: *mut ULONG,
}

Fields§

§pi_render: FPTR§pi_rp: *mut RastPort§pi_temprp: *mut RastPort§pi_RowBuf: *mut UWORD§pi_HamBuf: *mut UWORD§pi_ColorMap: *mut colorEntry§pi_ColorInt: *mut colorEntry§pi_HamInt: *mut colorEntry§pi_Dest1Int: *mut colorEntry§pi_Dest2Int: *mut colorEntry§pi_ScaleX: *mut UWORD§pi_ScaleXAlt: *mut UWORD§pi_dmatrix: *mut UBYTE§pi_TopBuf: *mut UWORD§pi_BotBuf: *mut UWORD§pi_RowBufSize: UWORD§pi_HamBufSize: UWORD§pi_ColorMapSize: UWORD§pi_ColorIntSize: UWORD§pi_HamIntSize: UWORD§pi_Dest1IntSize: UWORD§pi_Dest2IntSize: UWORD§pi_ScaleXSize: UWORD§pi_ScaleXAltSize: UWORD§pi_PrefsFlags: UWORD§pi_special: ULONG§pi_xstart: UWORD§pi_ystart: UWORD§pi_width: UWORD§pi_height: UWORD§pi_pc: ULONG§pi_pr: ULONG§pi_ymult: UWORD§pi_ymod: UWORD§pi_ety: WORD§pi_xpos: UWORD§pi_threshold: UWORD§pi_tempwidth: UWORD§pi_flags: UWORD§pi_ReduceBuf: *mut UWORD§pi_ReduceBufSize: UWORD§pi_SourceHook: *mut Hook§pi_InvertHookBuf: *mut ULONG

Trait Implementations§

Source§

impl Clone for PrtInfo

Source§

fn clone(&self) -> PrtInfo

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PrtInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PrtInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.