Trait rutabaga_gfx::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

Object Safety§

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§