SCNBufferStream

Trait SCNBufferStream 

Source
pub unsafe trait SCNBufferStream: NSObjectProtocol {
    // Provided method
    unsafe fn writeBytes_length(
        &self,
        bytes: NonNull<c_void>,
        length: NSUInteger,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature SCNShadable only.
Expand description

Provided Methods§

Source

unsafe fn writeBytes_length(&self, bytes: NonNull<c_void>, length: NSUInteger)
where Self: Sized + Message,

§Safety

bytes must be a valid pointer.

Trait Implementations§

Source§

impl ProtocolType for dyn SCNBufferStream

Source§

const NAME: &'static str = "SCNBufferStream"

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 SCNBufferStream

Implementations on Foreign Types§

Source§

impl<T> SCNBufferStream for ProtocolObject<T>
where T: ?Sized + SCNBufferStream,

Implementors§