rutabaga_gfx

Trait RutabagaFromRawDescriptor

Source
pub trait RutabagaFromRawDescriptor {
    // Required method
    unsafe fn from_raw_descriptor(descriptor: i64) -> Self;
}

Required Methods§

Source

unsafe fn from_raw_descriptor(descriptor: i64) -> Self

§Safety

Safe only if the caller ensures nothing has access to the descriptor after passing it to from_raw_descriptor

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromRawDescriptor for File

Source§

unsafe fn from_raw_descriptor(_descriptor: i64) -> Self

Implementors§