SCNAvoidOccluderConstraintDelegate

Trait SCNAvoidOccluderConstraintDelegate 

Source
pub unsafe trait SCNAvoidOccluderConstraintDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn avoidOccluderConstraint_shouldAvoidOccluder_forNode(
        &self,
        constraint: &SCNAvoidOccluderConstraint,
        occluder: &SCNNode,
        node: &SCNNode,
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn avoidOccluderConstraint_didAvoidOccluder_forNode(
        &self,
        constraint: &SCNAvoidOccluderConstraint,
        occluder: &SCNNode,
        node: &SCNNode,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature SCNConstraint only.
Expand description

Provided Methods§

Source

unsafe fn avoidOccluderConstraint_shouldAvoidOccluder_forNode( &self, constraint: &SCNAvoidOccluderConstraint, occluder: &SCNNode, node: &SCNNode, ) -> bool
where Self: Sized + Message,

Available on crate feature SCNNode only.
Source

unsafe fn avoidOccluderConstraint_didAvoidOccluder_forNode( &self, constraint: &SCNAvoidOccluderConstraint, occluder: &SCNNode, node: &SCNNode, )
where Self: Sized + Message,

Available on crate feature SCNNode only.

Trait Implementations§

Source§

impl ProtocolType for dyn SCNAvoidOccluderConstraintDelegate

Source§

const NAME: &'static str = "SCNAvoidOccluderConstraintDelegate"

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 SCNAvoidOccluderConstraintDelegate

Implementations on Foreign Types§

Source§

impl<T> SCNAvoidOccluderConstraintDelegate for ProtocolObject<T>

Implementors§