pub struct ResourceRef {
pub type_name: String,
pub ptr: *mut c_void,
}Fields§
§type_name: String§ptr: *mut c_voidTrait Implementations§
Source§impl Clone for ResourceRef
impl Clone for ResourceRef
Source§fn clone(&self) -> ResourceRef
fn clone(&self) -> ResourceRef
Returns a duplicate 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 ResourceRef
impl Debug for ResourceRef
Source§impl PartialEq for ResourceRef
impl PartialEq for ResourceRef
impl StructuralPartialEq for ResourceRef
Auto Trait Implementations§
impl Freeze for ResourceRef
impl RefUnwindSafe for ResourceRef
impl !Send for ResourceRef
impl !Sync for ResourceRef
impl Unpin for ResourceRef
impl UnwindSafe for ResourceRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more