Struct rutabaga_gfx::RutabagaHandle
source · pub struct RutabagaHandle {
pub os_handle: OwnedDescriptor,
pub handle_type: u32,
}
Expand description
Handle to OS-specific memory or synchronization objects.
Fields§
§os_handle: OwnedDescriptor
§handle_type: u32
Implementations§
source§impl RutabagaHandle
impl RutabagaHandle
sourcepub fn try_clone(&self) -> RutabagaResult<RutabagaHandle>
pub fn try_clone(&self) -> RutabagaResult<RutabagaHandle>
Clones an existing rutabaga handle, by using OS specific mechanisms.
Trait Implementations§
source§impl Debug for RutabagaHandle
impl Debug for RutabagaHandle
source§impl From<Event> for RutabagaHandle
impl From<Event> for RutabagaHandle
source§impl TryFrom<RutabagaHandle> for Event
impl TryFrom<RutabagaHandle> for Event
§type Error = RutabagaError
type Error = RutabagaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for RutabagaHandle
impl RefUnwindSafe for RutabagaHandle
impl Send for RutabagaHandle
impl Sync for RutabagaHandle
impl Unpin for RutabagaHandle
impl UnwindSafe for RutabagaHandle
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