INNER CODE UNIT · Rust

from

gfx-rs/gfx · src/auxil/external-memory/src/lib.rs:113

    fn from(ptr: Ptr) -> Self {
        Self::Ptr(ptr)
    }
}

/// Representation of os specific memory types.
pub enum PlatformMemoryType {
    #[cfg(any(unix, doc))]
    Fd,
    #[cfg(any(windows, doc))]
    Handle,
    Ptr,
}


bitflags::bitflags!(
    /// External memory type flags.
    #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…