#[repr(C)]pub struct CFAttributedString { /* private fields */ }
Available on crate feature
CFAttributedString
only.Expand description
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
Available on crate feature CFBase
only.
pub fn downcast_ref<T: ConcreteType>(&self) -> Option<&T>
CFBase
only.Attempt to downcast the type to that of type T
.
This is the reference-variant. Use CFRetained::downcast
if you
want to convert a retained type. See also ConcreteType
for more
details on which types support being converted to.
Trait Implementations§
Source§impl AsRef<AnyObject> for CFAttributedString
impl AsRef<AnyObject> for CFAttributedString
Source§impl AsRef<CFAttributedString> for CFAttributedString
impl AsRef<CFAttributedString> for CFAttributedString
Source§impl AsRef<CFAttributedString> for CFMutableAttributedString
impl AsRef<CFAttributedString> for CFMutableAttributedString
Source§fn as_ref(&self) -> &CFAttributedString
fn as_ref(&self) -> &CFAttributedString
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<CFType> for CFAttributedString
impl AsRef<CFType> for CFAttributedString
Source§impl Borrow<AnyObject> for CFAttributedString
impl Borrow<AnyObject> for CFAttributedString
Source§impl Borrow<CFAttributedString> for CFMutableAttributedString
impl Borrow<CFAttributedString> for CFMutableAttributedString
Source§fn borrow(&self) -> &CFAttributedString
fn borrow(&self) -> &CFAttributedString
Immutably borrows from an owned value. Read more
Source§impl Borrow<CFType> for CFAttributedString
impl Borrow<CFType> for CFAttributedString
Source§impl ConcreteType for CFAttributedString
Available on crate feature CFBase
only.
impl ConcreteType for CFAttributedString
Available on crate feature
CFBase
only.Source§impl Debug for CFAttributedString
impl Debug for CFAttributedString
Source§impl Deref for CFAttributedString
impl Deref for CFAttributedString
Source§impl Hash for CFAttributedString
impl Hash for CFAttributedString
Source§impl Message for CFAttributedString
impl Message for CFAttributedString
Source§impl PartialEq for CFAttributedString
impl PartialEq for CFAttributedString
Source§impl RefEncode for CFAttributedString
impl RefEncode for CFAttributedString
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
Source§impl Type for CFAttributedString
impl Type for CFAttributedString
impl Eq for CFAttributedString
Auto Trait Implementations§
impl !Freeze for CFAttributedString
impl !RefUnwindSafe for CFAttributedString
impl !Send for CFAttributedString
impl !Sync for CFAttributedString
impl !Unpin for CFAttributedString
impl !UnwindSafe for CFAttributedString
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