Struct go_engine::ffi::types::UnsafePtrObj   
source · pub struct UnsafePtrObj { /* private fields */ }Implementations§
source§impl UnsafePtrObj
 
impl UnsafePtrObj
pub fn new(ptr: Rc<dyn UnsafePtr + 'static>) -> UnsafePtrObj
pub fn as_rust_ptr(&self) -> *const dyn UnsafePtr + 'static
pub fn downcast_ref<T>(&self) -> Result<&T, RuntimeError>where T: Any,
Trait Implementations§
source§impl Clone for UnsafePtrObj
 
impl Clone for UnsafePtrObj
source§fn clone(&self) -> UnsafePtrObj
 
fn clone(&self) -> UnsafePtrObj
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for UnsafePtrObj
 
impl Debug for UnsafePtrObj
source§impl Display for UnsafePtrObj
 
impl Display for UnsafePtrObj
source§impl PartialEq<UnsafePtrObj> for UnsafePtrObj
 
impl PartialEq<UnsafePtrObj> for UnsafePtrObj
source§fn eq(&self, other: &UnsafePtrObj) -> bool
 
fn eq(&self, other: &UnsafePtrObj) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.