pub enum ResourceData {
Host {
tid: TypeResourceTableIndex,
rid: ResourceIndex,
local_name: String,
dtor_name: Option<String>,
},
Guest {
resource_name: String,
prefix: Option<String>,
},
}
Variants§
Trait Implementations§
source§impl Clone for ResourceData
impl Clone for ResourceData
source§fn clone(&self) -> ResourceData
fn clone(&self) -> ResourceData
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 ResourceData
impl Debug for ResourceData
source§impl PartialEq for ResourceData
impl PartialEq for ResourceData
source§fn eq(&self, other: &ResourceData) -> bool
fn eq(&self, other: &ResourceData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceData
Auto Trait Implementations§
impl Freeze for ResourceData
impl RefUnwindSafe for ResourceData
impl Send for ResourceData
impl Sync for ResourceData
impl Unpin for ResourceData
impl UnwindSafe for ResourceData
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