pub struct LibDrmAmdgpu {}Implementations§
Source§impl LibDrmAmdgpu
impl LibDrmAmdgpu
pub fn new() -> Result<LibDrmAmdgpu, ()>
pub fn new_with_libdrm(_lib: LibDrm) -> Result<LibDrmAmdgpu, ()>
Source§impl LibDrmAmdgpu
impl LibDrmAmdgpu
pub fn init_device_handle( &self, fd: i32, ) -> Result<(DeviceHandle, u32, u32), i32>
Trait Implementations§
Source§impl Clone for LibDrmAmdgpu
impl Clone for LibDrmAmdgpu
Source§fn clone(&self) -> LibDrmAmdgpu
fn clone(&self) -> LibDrmAmdgpu
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<LibDrmAmdgpu> for LibDrm
impl From<LibDrmAmdgpu> for LibDrm
Source§fn from(_lib: LibDrmAmdgpu) -> LibDrm
fn from(_lib: LibDrmAmdgpu) -> LibDrm
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LibDrmAmdgpu
impl RefUnwindSafe for LibDrmAmdgpu
impl Send for LibDrmAmdgpu
impl Sync for LibDrmAmdgpu
impl Unpin for LibDrmAmdgpu
impl UnwindSafe for LibDrmAmdgpu
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