Trait MutableCopyingHelper

Source
pub unsafe trait MutableCopyingHelper: Message {
    type Result: Message;
}
Available on crate feature NSObject only.
Expand description

A helper type for implementing NSMutableCopying.

See CopyingHelper for the immutable variant, and more details in general. These traits are split to allow implementing MutableCopyingHelper only when the mutable class is available.

§Safety

The Result type must be correct.

Required Associated Types§

Source

type Result: Message

The mutable counterpart of the type, or Self if the type has no mutable counterpart.

The implementation for NSString has NSMutableString here, while NSMutableString has itself (NSMutableString).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<P: ?Sized> MutableCopyingHelper for ProtocolObject<P>

Implementors§

Source§

impl MutableCopyingHelper for NSAttributedString

Available on crate feature NSAttributedString only.
Source§

impl MutableCopyingHelper for NSCharacterSet

Available on crate feature NSCharacterSet only.
Source§

impl MutableCopyingHelper for NSData

Available on crate feature NSData only.
Source§

impl MutableCopyingHelper for NSIndexSet

Available on crate feature NSIndexSet only.
Source§

impl MutableCopyingHelper for NSMutableAttributedString

Available on crate feature NSAttributedString only.
Source§

impl MutableCopyingHelper for NSMutableCharacterSet

Available on crate feature NSCharacterSet only.
Source§

impl MutableCopyingHelper for NSMutableData

Available on crate feature NSData only.
Source§

impl MutableCopyingHelper for NSMutableIndexSet

Available on crate feature NSIndexSet only.
Source§

impl MutableCopyingHelper for NSMutableString

Available on crate feature NSString only.
Source§

impl MutableCopyingHelper for NSMutableURLRequest

Available on crate feature NSURLRequest only.
Source§

impl MutableCopyingHelper for NSString

Available on crate feature NSString only.
Source§

impl MutableCopyingHelper for NSURLRequest

Available on crate feature NSURLRequest only.
Source§

impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> MutableCopyingHelper for NSDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
Source§

type Result = NSMutableDictionary<KeyType, ObjectType>

Source§

impl<KeyType: ?Sized + Message, ObjectType: ?Sized + Message> MutableCopyingHelper for NSMutableDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
Source§

type Result = NSMutableDictionary<KeyType, ObjectType>

Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSArray<ObjectType>

Available on crate feature NSArray only.
Source§

type Result = NSMutableArray<ObjectType>

Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSMutableArray<ObjectType>

Available on crate feature NSArray only.
Source§

type Result = NSMutableArray<ObjectType>

Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSMutableOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSMutableSet<ObjectType>

Available on crate feature NSSet only.
Source§

type Result = NSMutableSet<ObjectType>

Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
Source§

impl<ObjectType: ?Sized + Message> MutableCopyingHelper for NSSet<ObjectType>

Available on crate feature NSSet only.
Source§

type Result = NSMutableSet<ObjectType>