#[repr(C)]
pub struct st_WolframImageLibrary_Functions {
Show 34 fields pub MImage_new2D: Option<unsafe extern "C" fn(arg1: mint, arg2: mint, arg3: mint, arg4: imagedata_t, arg5: colorspace_t, arg6: mbool, arg7: *mut MImage) -> c_int>, pub MImage_new3D: Option<unsafe extern "C" fn(arg1: mint, arg2: mint, arg3: mint, arg4: mint, arg5: imagedata_t, arg6: colorspace_t, arg7: mbool, arg8: *mut MImage) -> c_int>, pub MImage_clone: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut MImage) -> c_int>, pub MImage_free: Option<unsafe extern "C" fn(arg1: MImage)>, pub MImage_disown: Option<unsafe extern "C" fn(arg1: MImage)>, pub MImage_disownAll: Option<unsafe extern "C" fn(arg1: MImage)>, pub MImage_shareCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getDataType: Option<unsafe extern "C" fn(arg1: MImage) -> imagedata_t>, pub MImage_getRowCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getColumnCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getSliceCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getRank: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getChannels: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_alphaChannelQ: Option<unsafe extern "C" fn(arg1: MImage) -> mbool>, pub MImage_interleavedQ: Option<unsafe extern "C" fn(arg1: MImage) -> mbool>, pub MImage_getColorSpace: Option<unsafe extern "C" fn(arg1: MImage) -> colorspace_t>, pub MImage_getFlattenedLength: Option<unsafe extern "C" fn(arg1: MImage) -> mint>, pub MImage_getBit: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_bit) -> c_int>, pub MImage_getByte: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_ubit8) -> c_int>, pub MImage_getBit16: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_ubit16) -> c_int>, pub MImage_getReal32: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_real32) -> c_int>, pub MImage_getReal: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_real64) -> c_int>, pub MImage_setBit: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_bit) -> c_int>, pub MImage_setByte: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_ubit8) -> c_int>, pub MImage_setBit16: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_ubit16) -> c_int>, pub MImage_setReal32: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_real32) -> c_int>, pub MImage_setReal: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_real64) -> c_int>, pub MImage_getRawData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut c_void>, pub MImage_getBitData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_bit>, pub MImage_getByteData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_ubit8>, pub MImage_getBit16Data: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_ubit16>, pub MImage_getReal32Data: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_real32>, pub MImage_getRealData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_real64>, pub MImage_convertType: Option<unsafe extern "C" fn(arg1: MImage, arg2: imagedata_t, arg3: mbool) -> MImage>,
}

Fields

MImage_new2D: Option<unsafe extern "C" fn(arg1: mint, arg2: mint, arg3: mint, arg4: imagedata_t, arg5: colorspace_t, arg6: mbool, arg7: *mut MImage) -> c_int>

width

MImage_new3D: Option<unsafe extern "C" fn(arg1: mint, arg2: mint, arg3: mint, arg4: mint, arg5: imagedata_t, arg6: colorspace_t, arg7: mbool, arg8: *mut MImage) -> c_int>

slices

MImage_clone: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut MImage) -> c_int>MImage_free: Option<unsafe extern "C" fn(arg1: MImage)>MImage_disown: Option<unsafe extern "C" fn(arg1: MImage)>MImage_disownAll: Option<unsafe extern "C" fn(arg1: MImage)>MImage_shareCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getDataType: Option<unsafe extern "C" fn(arg1: MImage) -> imagedata_t>MImage_getRowCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getColumnCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getSliceCount: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getRank: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getChannels: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_alphaChannelQ: Option<unsafe extern "C" fn(arg1: MImage) -> mbool>MImage_interleavedQ: Option<unsafe extern "C" fn(arg1: MImage) -> mbool>MImage_getColorSpace: Option<unsafe extern "C" fn(arg1: MImage) -> colorspace_t>MImage_getFlattenedLength: Option<unsafe extern "C" fn(arg1: MImage) -> mint>MImage_getBit: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_bit) -> c_int>

image

MImage_getByte: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_ubit8) -> c_int>

image

MImage_getBit16: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_ubit16) -> c_int>

image

MImage_getReal32: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_real32) -> c_int>

image

MImage_getReal: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: *mut raw_t_real64) -> c_int>

image

MImage_setBit: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_bit) -> c_int>

image

MImage_setByte: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_ubit8) -> c_int>

image

MImage_setBit16: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_ubit16) -> c_int>

image

MImage_setReal32: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_real32) -> c_int>

image

MImage_setReal: Option<unsafe extern "C" fn(arg1: MImage, arg2: *mut mint, arg3: mint, arg4: raw_t_real64) -> c_int>

image

MImage_getRawData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut c_void>MImage_getBitData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_bit>MImage_getByteData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_ubit8>MImage_getBit16Data: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_ubit16>MImage_getReal32Data: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_real32>MImage_getRealData: Option<unsafe extern "C" fn(arg1: MImage) -> *mut raw_t_real64>MImage_convertType: Option<unsafe extern "C" fn(arg1: MImage, arg2: imagedata_t, arg3: mbool) -> MImage>

type

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.