1 2 3 4 5 6 7 8 9 10 11
use crate::{arc, define_obj_type, gc, ns, objc}; define_obj_type!( #[doc(alias = "GCDeviceLight")] pub DeviceLight(ns::Id) ); impl DeviceLight { #[objc::msg_send(color)] pub fn color(&self) -> arc::R<gc::Color>; }