Trait ClassType
Other items infruity__bbqsrc::objc
pub trait ClassType<'data>: ObjectType<'data> { fn class() -> &'static Class; }
A type that represents an instance of a specific Objective-C class.
objc::ObjectType
fn class() -> &'static Class
Returns the Objective-C class that can be used to instantiate a new instance of Self.
Self
If the class is not available at runtime, a link error will occur during program launch.
impl ClassType<'static> for NSException
impl ClassType<'static> for NSNull
impl ClassType<'static> for NSNumber
impl ClassType<'static> for NSValue
impl<'data> ClassType<'data> for NSError<'data>
impl<'data> ClassType<'data> for NSFileManager<'data>
impl<'data> ClassType<'data> for NSMutableString<'data>
impl<'data> ClassType<'data> for NSString<'data>
impl<'data> ClassType<'data> for NSURL<'data>
impl<'data> ClassType<'data> for NSObject<'data>