Trait rutabaga_gfx::RutabagaFromRawDescriptor

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

Required Methods§

unsafe fn from_raw_descriptor(descriptor: i32) -> Self

§Safety

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl FromRawDescriptor for File

§

unsafe fn from_raw_descriptor(descriptor: i32) -> File

Implementors§