#[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,
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.