#[repr(C)]
pub struct _DrawInfo {
Show 42 fields pub primitive: *mut c_char, pub geometry: *mut c_char, pub affine: AffineMatrix, pub gravity: GravityType, pub fill: PixelPacket, pub stroke: PixelPacket, pub stroke_width: f64, pub gradient: GradientInfo, pub fill_pattern: *mut Image, pub tile: *mut Image, pub stroke_pattern: *mut Image, pub stroke_antialias: c_uint, pub text_antialias: c_uint, pub fill_rule: FillRule, pub linecap: LineCap, pub linejoin: LineJoin, pub miterlimit: c_ulong, pub dash_offset: f64, pub decorate: DecorationType, pub compose: CompositeOperator, pub text: *mut c_char, pub font: *mut c_char, pub family: *mut c_char, pub style: StyleType, pub stretch: StretchType, pub weight: c_ulong, pub encoding: *mut c_char, pub pointsize: f64, pub density: *mut c_char, pub align: AlignType, pub undercolor: PixelPacket, pub border_color: PixelPacket, pub server_name: *mut c_char, pub dash_pattern: *mut f64, pub extra: *mut _DrawInfoExtra, pub bounds: SegmentInfo, pub clip_units: ClipPathUnits, pub opacity: Quantum, pub render: c_uint, pub flags: c_uint, pub element_reference: ElementReference, pub signature: c_ulong,
}

Fields§

§primitive: *mut c_char§geometry: *mut c_char§affine: AffineMatrix§gravity: GravityType§fill: PixelPacket§stroke: PixelPacket§stroke_width: f64§gradient: GradientInfo§fill_pattern: *mut Image§tile: *mut Image§stroke_pattern: *mut Image§stroke_antialias: c_uint§text_antialias: c_uint§fill_rule: FillRule§linecap: LineCap§linejoin: LineJoin§miterlimit: c_ulong§dash_offset: f64§decorate: DecorationType§compose: CompositeOperator§text: *mut c_char§font: *mut c_char§family: *mut c_char§style: StyleType§stretch: StretchType§weight: c_ulong§encoding: *mut c_char§pointsize: f64§density: *mut c_char§align: AlignType§undercolor: PixelPacket§border_color: PixelPacket§server_name: *mut c_char§dash_pattern: *mut f64§extra: *mut _DrawInfoExtra§bounds: SegmentInfo§clip_units: ClipPathUnits§opacity: Quantum§render: c_uint§flags: c_uint§element_reference: ElementReference§signature: c_ulong

Trait Implementations§

source§

impl Clone for _DrawInfo

source§

fn clone(&self) -> _DrawInfo

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 Debug for _DrawInfo

source§

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

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

impl Copy for _DrawInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.