#[repr(C)]pub struct CGBitmapParameters {
pub width: usize,
pub height: usize,
pub bytesPerPixel: usize,
pub alignedBytesPerRow: usize,
pub component: CGComponent,
pub layout: CGBitmapLayout,
pub format: CGImagePixelFormatInfo,
pub colorSpace: NonNull<CGColorSpace>,
pub hasPremultipliedAlpha: bool,
pub byteOrder: CFByteOrder,
pub edrTargetHeadroom: c_float,
}Available on crate features
CGBitmapContext and CGColorSpace and CGImage only.Expand description
Fields§
§width: usize§height: usize§bytesPerPixel: usize§alignedBytesPerRow: usize§component: CGComponent§layout: CGBitmapLayout§format: CGImagePixelFormatInfo§colorSpace: NonNull<CGColorSpace>§hasPremultipliedAlpha: bool§byteOrder: CFByteOrder§edrTargetHeadroom: c_floatTrait Implementations§
Source§impl Clone for CGBitmapParameters
impl Clone for CGBitmapParameters
Source§fn clone(&self) -> CGBitmapParameters
fn clone(&self) -> CGBitmapParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CGBitmapParameters
impl Debug for CGBitmapParameters
Source§impl Encode for CGBitmapParameters
Available on crate feature objc2 only.
impl Encode for CGBitmapParameters
Available on crate feature
objc2 only.Source§impl PartialEq for CGBitmapParameters
impl PartialEq for CGBitmapParameters
Source§impl RefEncode for CGBitmapParameters
Available on crate feature objc2 only.
impl RefEncode for CGBitmapParameters
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CGBitmapParameters
impl StructuralPartialEq for CGBitmapParameters
Auto Trait Implementations§
impl Freeze for CGBitmapParameters
impl !RefUnwindSafe for CGBitmapParameters
impl !Send for CGBitmapParameters
impl !Sync for CGBitmapParameters
impl Unpin for CGBitmapParameters
impl !UnwindSafe for CGBitmapParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.