Struct magick_rust::bindings::_DrawInfo

source ·
#[repr(C)]
pub struct _DrawInfo {
Show 57 fields pub primitive: *mut c_char, pub geometry: *mut c_char, pub viewbox: RectangleInfo, pub affine: AffineMatrix, pub fill: PixelInfo, pub stroke: PixelInfo, pub undercolor: PixelInfo, pub border_color: PixelInfo, pub fill_pattern: *mut Image, pub stroke_pattern: *mut Image, pub stroke_width: f64, pub gradient: GradientInfo, pub stroke_antialias: MagickBooleanType, pub text_antialias: MagickBooleanType, pub fill_rule: FillRule, pub linecap: LineCap, pub linejoin: LineJoin, pub miterlimit: usize, pub dash_offset: f64, pub decorate: DecorationType, pub compose: CompositeOperator, pub text: *mut c_char, pub font: *mut c_char, pub metrics: *mut c_char, pub family: *mut c_char, pub face: usize, pub style: StyleType, pub stretch: StretchType, pub weight: usize, pub encoding: *mut c_char, pub pointsize: f64, pub density: *mut c_char, pub align: AlignType, pub gravity: GravityType, pub server_name: *mut c_char, pub dash_pattern: *mut f64, pub clip_mask: *mut c_char, pub bounds: SegmentInfo, pub clip_units: ClipPathUnits, pub alpha: Quantum, pub render: MagickBooleanType, pub element_reference: ElementReference, pub kerning: f64, pub interword_spacing: f64, pub interline_spacing: f64, pub direction: DirectionType, pub debug: MagickBooleanType, pub signature: usize, pub fill_alpha: f64, pub stroke_alpha: f64, pub clip_path: MagickBooleanType, pub clipping_mask: *mut Image, pub compliance: ComplianceType, pub composite_mask: *mut Image, pub id: *mut c_char, pub word_break: WordBreakType, pub image_info: *mut ImageInfo,
}

Fields§

§primitive: *mut c_char§geometry: *mut c_char§viewbox: RectangleInfo§affine: AffineMatrix§fill: PixelInfo§stroke: PixelInfo§undercolor: PixelInfo§border_color: PixelInfo§fill_pattern: *mut Image§stroke_pattern: *mut Image§stroke_width: f64§gradient: GradientInfo§stroke_antialias: MagickBooleanType§text_antialias: MagickBooleanType§fill_rule: FillRule§linecap: LineCap§linejoin: LineJoin§miterlimit: usize§dash_offset: f64§decorate: DecorationType§compose: CompositeOperator§text: *mut c_char§font: *mut c_char§metrics: *mut c_char§family: *mut c_char§face: usize§style: StyleType§stretch: StretchType§weight: usize§encoding: *mut c_char§pointsize: f64§density: *mut c_char§align: AlignType§gravity: GravityType§server_name: *mut c_char§dash_pattern: *mut f64§clip_mask: *mut c_char§bounds: SegmentInfo§clip_units: ClipPathUnits§alpha: Quantum§render: MagickBooleanType§element_reference: ElementReference§kerning: f64§interword_spacing: f64§interline_spacing: f64§direction: DirectionType§debug: MagickBooleanType§signature: usize§fill_alpha: f64§stroke_alpha: f64§clip_path: MagickBooleanType§clipping_mask: *mut Image§compliance: ComplianceType§composite_mask: *mut Image§id: *mut c_char§word_break: WordBreakType§image_info: *mut ImageInfo

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

source§

fn eq(&self, other: &_DrawInfo) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for _DrawInfo

source§

impl StructuralPartialEq for _DrawInfo

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: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

§

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>,

§

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>,

§

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.