pub struct CGImageRef(/* private fields */);
Expand description
A borrowed reference to a CGImage
.
Implementations§
Source§impl CGImageRef
impl CGImageRef
pub fn width(&self) -> usize
pub fn height(&self) -> usize
pub fn bits_per_component(&self) -> usize
pub fn bits_per_pixel(&self) -> usize
pub fn bytes_per_row(&self) -> usize
pub fn color_space(&self) -> CGColorSpace
Trait Implementations§
Source§impl ForeignTypeRef for CGImageRef
impl ForeignTypeRef for CGImageRef
Auto Trait Implementations§
impl Freeze for CGImageRef
impl !RefUnwindSafe for CGImageRef
impl !Send for CGImageRef
impl !Sync for CGImageRef
impl Unpin for CGImageRef
impl UnwindSafe for CGImageRef
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