pub struct CGPDFArray { /* private fields */ }Available on crate feature
CGPDFArray only.Expand description
Implementations§
Source§impl CGPDFArray
impl CGPDFArray
Sourcepub unsafe fn count(array: CGPDFArrayRef) -> usize
pub unsafe fn count(array: CGPDFArrayRef) -> usize
§Safety
array must be a valid pointer or null.
Sourcepub unsafe fn object(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFObjectRef,
) -> bool
Available on crate feature CGPDFObject only.
pub unsafe fn object( array: CGPDFArrayRef, index: usize, value: *mut CGPDFObjectRef, ) -> bool
CGPDFObject only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn null(array: CGPDFArrayRef, index: usize) -> bool
pub unsafe fn null(array: CGPDFArrayRef, index: usize) -> bool
§Safety
array must be a valid pointer or null.
Sourcepub unsafe fn boolean(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFBoolean,
) -> bool
Available on crate feature CGPDFObject only.
pub unsafe fn boolean( array: CGPDFArrayRef, index: usize, value: *mut CGPDFBoolean, ) -> bool
CGPDFObject only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn integer(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFInteger,
) -> bool
Available on crate feature CGPDFObject only.
pub unsafe fn integer( array: CGPDFArrayRef, index: usize, value: *mut CGPDFInteger, ) -> bool
CGPDFObject only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn number(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFReal,
) -> bool
Available on crate feature CGPDFObject only.
pub unsafe fn number( array: CGPDFArrayRef, index: usize, value: *mut CGPDFReal, ) -> bool
CGPDFObject only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn name(
array: CGPDFArrayRef,
index: usize,
value: *mut *const c_char,
) -> bool
pub unsafe fn name( array: CGPDFArrayRef, index: usize, value: *mut *const c_char, ) -> bool
§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn string(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFStringRef,
) -> bool
Available on crate feature CGPDFString only.
pub unsafe fn string( array: CGPDFArrayRef, index: usize, value: *mut CGPDFStringRef, ) -> bool
CGPDFString only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn array(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFArrayRef,
) -> bool
pub unsafe fn array( array: CGPDFArrayRef, index: usize, value: *mut CGPDFArrayRef, ) -> bool
§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn dictionary(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFDictionaryRef,
) -> bool
Available on crate feature CGPDFDictionary only.
pub unsafe fn dictionary( array: CGPDFArrayRef, index: usize, value: *mut CGPDFDictionaryRef, ) -> bool
CGPDFDictionary only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Sourcepub unsafe fn stream(
array: CGPDFArrayRef,
index: usize,
value: *mut CGPDFStreamRef,
) -> bool
Available on crate feature CGPDFStream only.
pub unsafe fn stream( array: CGPDFArrayRef, index: usize, value: *mut CGPDFStreamRef, ) -> bool
CGPDFStream only.§Safety
arraymust be a valid pointer or null.valuemust be a valid pointer or null.
Source§impl CGPDFArray
impl CGPDFArray
Sourcepub unsafe fn apply_block(
array: CGPDFArrayRef,
block: CGPDFArrayApplierBlock,
info: *mut c_void,
)
Available on crate features CGPDFObject and block2 only.
pub unsafe fn apply_block( array: CGPDFArrayRef, block: CGPDFArrayApplierBlock, info: *mut c_void, )
CGPDFObject and block2 only.§Safety
arraymust be a valid pointer or null.blockmust be a valid pointer or null.infomust be a valid pointer or null.
Trait Implementations§
Source§impl Debug for CGPDFArray
impl Debug for CGPDFArray
Source§impl RefEncode for CGPDFArray
Available on crate feature objc2 only.
impl RefEncode for CGPDFArray
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
Auto Trait Implementations§
impl !Freeze for CGPDFArray
impl !RefUnwindSafe for CGPDFArray
impl !Send for CGPDFArray
impl !Sync for CGPDFArray
impl !Unpin for CGPDFArray
impl !UnwindSafe for CGPDFArray
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