pub struct CGPDFString { /* private fields */ }Available on crate feature
CGPDFString only.Expand description
Implementations§
Source§impl CGPDFString
impl CGPDFString
Sourcepub unsafe fn length(string: CGPDFStringRef) -> usize
pub unsafe fn length(string: CGPDFStringRef) -> usize
§Safety
string must be a valid pointer or null.
Sourcepub unsafe fn byte_ptr(string: CGPDFStringRef) -> *const c_uchar
pub unsafe fn byte_ptr(string: CGPDFStringRef) -> *const c_uchar
§Safety
string must be a valid pointer or null.
Sourcepub unsafe fn text_string(
string: CGPDFStringRef,
) -> Option<CFRetained<CFString>>
pub unsafe fn text_string( string: CGPDFStringRef, ) -> Option<CFRetained<CFString>>
§Safety
string must be a valid pointer or null.
Sourcepub unsafe fn date(string: CGPDFStringRef) -> Option<CFRetained<CFDate>>
pub unsafe fn date(string: CGPDFStringRef) -> Option<CFRetained<CFDate>>
§Safety
string must be a valid pointer or null.
Trait Implementations§
Source§impl Debug for CGPDFString
impl Debug for CGPDFString
Source§impl RefEncode for CGPDFString
Available on crate feature objc2 only.
impl RefEncode for CGPDFString
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 CGPDFString
impl !RefUnwindSafe for CGPDFString
impl !Send for CGPDFString
impl !Sync for CGPDFString
impl !Unpin for CGPDFString
impl !UnwindSafe for CGPDFString
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