Struct magick_rust::bindings::_Image

source ·
#[repr(C)]
pub struct _Image {
Show 86 fields pub storage_class: ClassType, pub colorspace: ColorspaceType, pub compression: CompressionType, pub quality: usize, pub orientation: OrientationType, pub taint: MagickBooleanType, pub columns: usize, pub rows: usize, pub depth: usize, pub colors: usize, pub colormap: *mut PixelInfo, pub alpha_color: PixelInfo, pub background_color: PixelInfo, pub border_color: PixelInfo, pub transparent_color: PixelInfo, pub gamma: f64, pub chromaticity: ChromaticityInfo, pub rendering_intent: RenderingIntent, pub profiles: *mut c_void, pub units: ResolutionType, pub montage: *mut c_char, pub directory: *mut c_char, pub geometry: *mut c_char, pub offset: isize, pub resolution: PointInfo, pub page: RectangleInfo, pub extract_info: RectangleInfo, pub fuzz: f64, pub filter: FilterType, pub intensity: PixelIntensityMethod, pub interlace: InterlaceType, pub endian: EndianType, pub gravity: GravityType, pub compose: CompositeOperator, pub dispose: DisposeType, pub scene: usize, pub delay: usize, pub duration: usize, pub ticks_per_second: isize, pub iterations: usize, pub total_colors: usize, pub start_loop: isize, pub interpolate: PixelInterpolateMethod, pub black_point_compensation: MagickBooleanType, pub tile_offset: RectangleInfo, pub type_: ImageType, pub dither: MagickBooleanType, pub extent: MagickSizeType, pub ping: MagickBooleanType, pub read_mask: MagickBooleanType, pub write_mask: MagickBooleanType, pub alpha_trait: PixelTrait, pub number_channels: usize, pub number_meta_channels: usize, pub metacontent_extent: usize, pub channel_mask: ChannelType, pub channel_map: *mut PixelChannelMap, pub cache: *mut c_void, pub error: ErrorInfo, pub timer: TimerInfo, pub progress_monitor: MagickProgressMonitor, pub client_data: *mut c_void, pub ascii85: *mut Ascii85Info, pub generic_profile: *mut ProfileInfo, pub properties: *mut c_void, pub artifacts: *mut c_void, pub filename: [c_char; 4096], pub magick_filename: [c_char; 4096], pub magick: [c_char; 4096], pub magick_columns: usize, pub magick_rows: usize, pub blob: *mut BlobInfo, pub timestamp: time_t, pub debug: MagickBooleanType, pub reference_count: isize, pub semaphore: *mut SemaphoreInfo, pub image_info: *mut _ImageInfo, pub list: *mut _Image, pub previous: *mut _Image, pub next: *mut _Image, pub signature: usize, pub matte_color: PixelInfo, pub composite_mask: MagickBooleanType, pub mask_trait: PixelTrait, pub channels: ChannelType, pub ttl: time_t,
}

Fields§

§storage_class: ClassType§colorspace: ColorspaceType§compression: CompressionType§quality: usize§orientation: OrientationType§taint: MagickBooleanType§columns: usize§rows: usize§depth: usize§colors: usize§colormap: *mut PixelInfo§alpha_color: PixelInfo§background_color: PixelInfo§border_color: PixelInfo§transparent_color: PixelInfo§gamma: f64§chromaticity: ChromaticityInfo§rendering_intent: RenderingIntent§profiles: *mut c_void§units: ResolutionType§montage: *mut c_char§directory: *mut c_char§geometry: *mut c_char§offset: isize§resolution: PointInfo§page: RectangleInfo§extract_info: RectangleInfo§fuzz: f64§filter: FilterType§intensity: PixelIntensityMethod§interlace: InterlaceType§endian: EndianType§gravity: GravityType§compose: CompositeOperator§dispose: DisposeType§scene: usize§delay: usize§duration: usize§ticks_per_second: isize§iterations: usize§total_colors: usize§start_loop: isize§interpolate: PixelInterpolateMethod§black_point_compensation: MagickBooleanType§tile_offset: RectangleInfo§type_: ImageType§dither: MagickBooleanType§extent: MagickSizeType§ping: MagickBooleanType§read_mask: MagickBooleanType§write_mask: MagickBooleanType§alpha_trait: PixelTrait§number_channels: usize§number_meta_channels: usize§metacontent_extent: usize§channel_mask: ChannelType§channel_map: *mut PixelChannelMap§cache: *mut c_void§error: ErrorInfo§timer: TimerInfo§progress_monitor: MagickProgressMonitor§client_data: *mut c_void§ascii85: *mut Ascii85Info§generic_profile: *mut ProfileInfo§properties: *mut c_void§artifacts: *mut c_void§filename: [c_char; 4096]§magick_filename: [c_char; 4096]§magick: [c_char; 4096]§magick_columns: usize§magick_rows: usize§blob: *mut BlobInfo§timestamp: time_t§debug: MagickBooleanType§reference_count: isize§semaphore: *mut SemaphoreInfo§image_info: *mut _ImageInfo§list: *mut _Image§previous: *mut _Image§next: *mut _Image§signature: usize§matte_color: PixelInfo§composite_mask: MagickBooleanType§mask_trait: PixelTrait§channels: ChannelType§ttl: time_t

Trait Implementations§

source§

impl Clone for _Image

source§

fn clone(&self) -> _Image

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 _Image

source§

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

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

impl PartialEq for _Image

source§

fn eq(&self, other: &_Image) -> 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 _Image

source§

impl StructuralPartialEq for _Image

Auto Trait Implementations§

§

impl Freeze for _Image

§

impl RefUnwindSafe for _Image

§

impl !Send for _Image

§

impl !Sync for _Image

§

impl Unpin for _Image

§

impl UnwindSafe for _Image

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