Struct Struct__DevDesc

Source
#[repr(C)]
pub struct Struct__DevDesc {
Show 66 fields pub left: c_double, pub right: c_double, pub bottom: c_double, pub top: c_double, pub clipLeft: c_double, pub clipRight: c_double, pub clipBottom: c_double, pub clipTop: c_double, pub xCharOffset: c_double, pub yCharOffset: c_double, pub yLineBias: c_double, pub ipr: [c_double; 2], pub cra: [c_double; 2], pub gamma: c_double, pub canClip: Rboolean, pub canChangeGamma: Rboolean, pub canHAdj: c_int, pub startps: c_double, pub startcol: c_int, pub startfill: c_int, pub startlty: c_int, pub startfont: c_int, pub startgamma: c_double, pub deviceSpecific: *mut c_void, pub displayListOn: Rboolean, pub canGenMouseDown: Rboolean, pub canGenMouseMove: Rboolean, pub canGenMouseUp: Rboolean, pub canGenKeybd: Rboolean, pub gettingEvent: Rboolean, pub activate: Option<extern "C" fn(arg1: pDevDesc)>, pub circle: Option<extern "C" fn(x: c_double, y: c_double, r: c_double, gc: pGEcontext, dd: pDevDesc)>, pub clip: Option<extern "C" fn(x0: c_double, x1: c_double, y0: c_double, y1: c_double, dd: pDevDesc)>, pub close: Option<extern "C" fn(dd: pDevDesc)>, pub deactivate: Option<extern "C" fn(arg1: pDevDesc)>, pub locator: Option<unsafe extern "C" fn(x: *mut c_double, y: *mut c_double, dd: pDevDesc) -> Rboolean>, pub line: Option<extern "C" fn(x1: c_double, y1: c_double, x2: c_double, y2: c_double, gc: pGEcontext, dd: pDevDesc)>, pub metricInfo: Option<unsafe extern "C" fn(c: c_int, gc: pGEcontext, ascent: *mut c_double, descent: *mut c_double, width: *mut c_double, dd: pDevDesc)>, pub mode: Option<extern "C" fn(mode: c_int, dd: pDevDesc)>, pub newPage: Option<extern "C" fn(gc: pGEcontext, dd: pDevDesc)>, pub polygon: Option<unsafe extern "C" fn(n: c_int, x: *mut c_double, y: *mut c_double, gc: pGEcontext, dd: pDevDesc)>, pub polyline: Option<unsafe extern "C" fn(n: c_int, x: *mut c_double, y: *mut c_double, gc: pGEcontext, dd: pDevDesc)>, pub rect: Option<extern "C" fn(x0: c_double, y0: c_double, x1: c_double, y1: c_double, gc: pGEcontext, dd: pDevDesc)>, pub path: Option<unsafe extern "C" fn(x: *mut c_double, y: *mut c_double, npoly: c_int, nper: *mut c_int, winding: Rboolean, gc: pGEcontext, dd: pDevDesc)>, pub raster: Option<unsafe extern "C" fn(raster: *mut c_uint, w: c_int, h: c_int, x: c_double, y: c_double, width: c_double, height: c_double, rot: c_double, interpolate: Rboolean, gc: pGEcontext, dd: pDevDesc)>, pub cap: Option<extern "C" fn(dd: pDevDesc) -> SEXP>, pub size: Option<unsafe extern "C" fn(left: *mut c_double, right: *mut c_double, bottom: *mut c_double, top: *mut c_double, dd: pDevDesc)>, pub strWidth: Option<unsafe extern "C" fn(str: *const c_char, gc: pGEcontext, dd: pDevDesc) -> c_double>, pub text: Option<unsafe extern "C" fn(x: c_double, y: c_double, str: *const c_char, rot: c_double, hadj: c_double, gc: pGEcontext, dd: pDevDesc)>, pub onExit: Option<extern "C" fn(dd: pDevDesc)>, pub getEvent: Option<unsafe extern "C" fn(arg1: SEXP, arg2: *const c_char) -> SEXP>, pub newFrameConfirm: Option<extern "C" fn(dd: pDevDesc) -> Rboolean>, pub hasTextUTF8: Rboolean, pub textUTF8: Option<unsafe extern "C" fn(x: c_double, y: c_double, str: *const c_char, rot: c_double, hadj: c_double, gc: pGEcontext, dd: pDevDesc)>, pub strWidthUTF8: Option<unsafe extern "C" fn(str: *const c_char, gc: pGEcontext, dd: pDevDesc) -> c_double>, pub wantSymbolUTF8: Rboolean, pub useRotatedTextInContour: Rboolean, pub eventEnv: SEXP, pub eventHelper: Option<extern "C" fn(dd: pDevDesc, code: c_int)>, pub holdflush: Option<extern "C" fn(dd: pDevDesc, level: c_int) -> c_int>, pub haveTransparency: c_int, pub haveTransparentBg: c_int, pub haveRaster: c_int, pub haveCapture: c_int, pub haveLocator: c_int, pub reserved: [c_char; 64],
}

Fields§

§left: c_double§right: c_double§bottom: c_double§top: c_double§clipLeft: c_double§clipRight: c_double§clipBottom: c_double§clipTop: c_double§xCharOffset: c_double§yCharOffset: c_double§yLineBias: c_double§ipr: [c_double; 2]§cra: [c_double; 2]§gamma: c_double§canClip: Rboolean§canChangeGamma: Rboolean§canHAdj: c_int§startps: c_double§startcol: c_int§startfill: c_int§startlty: c_int§startfont: c_int§startgamma: c_double§deviceSpecific: *mut c_void§displayListOn: Rboolean§canGenMouseDown: Rboolean§canGenMouseMove: Rboolean§canGenMouseUp: Rboolean§canGenKeybd: Rboolean§gettingEvent: Rboolean§activate: Option<extern "C" fn(arg1: pDevDesc)>§circle: Option<extern "C" fn(x: c_double, y: c_double, r: c_double, gc: pGEcontext, dd: pDevDesc)>§clip: Option<extern "C" fn(x0: c_double, x1: c_double, y0: c_double, y1: c_double, dd: pDevDesc)>§close: Option<extern "C" fn(dd: pDevDesc)>§deactivate: Option<extern "C" fn(arg1: pDevDesc)>§locator: Option<unsafe extern "C" fn(x: *mut c_double, y: *mut c_double, dd: pDevDesc) -> Rboolean>§line: Option<extern "C" fn(x1: c_double, y1: c_double, x2: c_double, y2: c_double, gc: pGEcontext, dd: pDevDesc)>§metricInfo: Option<unsafe extern "C" fn(c: c_int, gc: pGEcontext, ascent: *mut c_double, descent: *mut c_double, width: *mut c_double, dd: pDevDesc)>§mode: Option<extern "C" fn(mode: c_int, dd: pDevDesc)>§newPage: Option<extern "C" fn(gc: pGEcontext, dd: pDevDesc)>§polygon: Option<unsafe extern "C" fn(n: c_int, x: *mut c_double, y: *mut c_double, gc: pGEcontext, dd: pDevDesc)>§polyline: Option<unsafe extern "C" fn(n: c_int, x: *mut c_double, y: *mut c_double, gc: pGEcontext, dd: pDevDesc)>§rect: Option<extern "C" fn(x0: c_double, y0: c_double, x1: c_double, y1: c_double, gc: pGEcontext, dd: pDevDesc)>§path: Option<unsafe extern "C" fn(x: *mut c_double, y: *mut c_double, npoly: c_int, nper: *mut c_int, winding: Rboolean, gc: pGEcontext, dd: pDevDesc)>§raster: Option<unsafe extern "C" fn(raster: *mut c_uint, w: c_int, h: c_int, x: c_double, y: c_double, width: c_double, height: c_double, rot: c_double, interpolate: Rboolean, gc: pGEcontext, dd: pDevDesc)>§cap: Option<extern "C" fn(dd: pDevDesc) -> SEXP>§size: Option<unsafe extern "C" fn(left: *mut c_double, right: *mut c_double, bottom: *mut c_double, top: *mut c_double, dd: pDevDesc)>§strWidth: Option<unsafe extern "C" fn(str: *const c_char, gc: pGEcontext, dd: pDevDesc) -> c_double>§text: Option<unsafe extern "C" fn(x: c_double, y: c_double, str: *const c_char, rot: c_double, hadj: c_double, gc: pGEcontext, dd: pDevDesc)>§onExit: Option<extern "C" fn(dd: pDevDesc)>§getEvent: Option<unsafe extern "C" fn(arg1: SEXP, arg2: *const c_char) -> SEXP>§newFrameConfirm: Option<extern "C" fn(dd: pDevDesc) -> Rboolean>§hasTextUTF8: Rboolean§textUTF8: Option<unsafe extern "C" fn(x: c_double, y: c_double, str: *const c_char, rot: c_double, hadj: c_double, gc: pGEcontext, dd: pDevDesc)>§strWidthUTF8: Option<unsafe extern "C" fn(str: *const c_char, gc: pGEcontext, dd: pDevDesc) -> c_double>§wantSymbolUTF8: Rboolean§useRotatedTextInContour: Rboolean§eventEnv: SEXP§eventHelper: Option<extern "C" fn(dd: pDevDesc, code: c_int)>§holdflush: Option<extern "C" fn(dd: pDevDesc, level: c_int) -> c_int>§haveTransparency: c_int§haveTransparentBg: c_int§haveRaster: c_int§haveCapture: c_int§haveLocator: c_int§reserved: [c_char; 64]

Trait Implementations§

Source§

impl Clone for Struct__DevDesc

Source§

fn clone(&self) -> Self

Returns a copy 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 Default for Struct__DevDesc

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for Struct__DevDesc

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.