ARSessionProviding

Trait ARSessionProviding 

Source
pub unsafe trait ARSessionProviding: NSObjectProtocol {
    // Provided method
    unsafe fn session(&self) -> Retained<ARSession>
       where Self: Sized + Message { ... }
}
Available on crate features ARSession and objc2 only.
Expand description

A data source for an ARSession

See also Apple’s documentation

Provided Methods§

Source

unsafe fn session(&self) -> Retained<ARSession>
where Self: Sized + Message,

To ensure session changes are detected, Swift classes should mark this property as and dynamic

Trait Implementations§

Source§

impl ProtocolType for dyn ARSessionProviding

Source§

const NAME: &'static str = "ARSessionProviding"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn ARSessionProviding

Implementations on Foreign Types§

Source§

impl<T> ARSessionProviding for ProtocolObject<T>

Implementors§