pub struct CGPDFContentStream { /* private fields */ }Available on crate feature
CGPDFContentStream only.Expand description
Implementations§
Source§impl CGPDFContentStream
impl CGPDFContentStream
pub fn create_with_page(page: &CGPDFPage) -> CGPDFContentStreamRef
Available on crate feature
CGPDFPage only.Sourcepub unsafe fn create_with_stream(
stream: CGPDFStreamRef,
stream_resources: CGPDFDictionaryRef,
parent: CGPDFContentStreamRef,
) -> CGPDFContentStreamRef
Available on crate features CGPDFDictionary and CGPDFStream only.
pub unsafe fn create_with_stream( stream: CGPDFStreamRef, stream_resources: CGPDFDictionaryRef, parent: CGPDFContentStreamRef, ) -> CGPDFContentStreamRef
CGPDFDictionary and CGPDFStream only.§Safety
streammust be a valid pointer.stream_resourcesmust be a valid pointer.parentmust be a valid pointer or null.
Sourcepub unsafe fn retain(cs: CGPDFContentStreamRef) -> CGPDFContentStreamRef
pub unsafe fn retain(cs: CGPDFContentStreamRef) -> CGPDFContentStreamRef
§Safety
cs must be a valid pointer.
Sourcepub unsafe fn release(cs: CGPDFContentStreamRef)
pub unsafe fn release(cs: CGPDFContentStreamRef)
§Safety
cs must be a valid pointer.
Sourcepub unsafe fn streams(cs: CGPDFContentStreamRef) -> Option<CFRetained<CFArray>>
pub unsafe fn streams(cs: CGPDFContentStreamRef) -> Option<CFRetained<CFArray>>
§Safety
cs must be a valid pointer.
Sourcepub unsafe fn resource(
cs: CGPDFContentStreamRef,
category: NonNull<c_char>,
name: NonNull<c_char>,
) -> CGPDFObjectRef
Available on crate feature CGPDFObject only.
pub unsafe fn resource( cs: CGPDFContentStreamRef, category: NonNull<c_char>, name: NonNull<c_char>, ) -> CGPDFObjectRef
CGPDFObject only.§Safety
csmust be a valid pointer.categorymust be a valid pointer.namemust be a valid pointer.
Trait Implementations§
Source§impl Debug for CGPDFContentStream
impl Debug for CGPDFContentStream
Source§impl RefEncode for CGPDFContentStream
Available on crate feature objc2 only.
impl RefEncode for CGPDFContentStream
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 CGPDFContentStream
impl !RefUnwindSafe for CGPDFContentStream
impl !Send for CGPDFContentStream
impl !Sync for CGPDFContentStream
impl !Unpin for CGPDFContentStream
impl !UnwindSafe for CGPDFContentStream
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