Macro rust_macios::object

source ·
macro_rules! object {
    (
        $(#[$m:meta])*
        unsafe $v:vis struct $name:ident $(;)?
    ) => { ... };
    (
        $(#[$m:meta])*
        unsafe $v:vis struct $name:ident<$($t:ident $(: $b:ident)?),*> {
            $($p:ident: $pty:ty),*$(,)+
        }
    ) => { ... };
}
Expand description

The given name must be a valid Objective-C class that inherits NSObject.