[−][src]Trait lv2_core::port::PortHandle
Abstraction of safe port handles.
Required methods
unsafe fn from_raw(pointer: *mut c_void, sample_count: u32) -> Option<Self>
Try to create a port handle from a port connection pointer and the sample count.
If the pointer is null, this method will return None
.
Safety
Implementing this method requires a de-referentation of a raw pointer and therefore, it is unsafe.