#[repr(C)]pub struct Resource {
pub resource: *mut c_void,
pub name: [WideChar; 64],
pub description: ResourceDescription,
pub state: ResourceStates,
pub isDepth: bool,
pub descriptorData: u64,
}Expand description
An outward facing structure containing a resource
Fields§
§resource: *mut c_void< pointer to the resource.
name: [WideChar; 64]§description: ResourceDescription§state: ResourceStates§isDepth: bool§descriptorData: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl !Send for Resource
impl !Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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