Struct drm::control::framebuffer::Handle
[−]
[src]
pub struct Handle(_);
A ResourceHandle
for a framebuffer.
Like all control resources, every framebuffer has a unique Handle
associated with it. This Handle
can be used to acquire information about
the framebuffer (see framebuffer::Info
) or change the framebuffer's
state.
These can be retrieved by using ResourceIds::framebuffers
, but most
often you will create your own using [Device::create_framebuffer
].
Trait Implementations
impl ResourceHandle for Handle
[src]
fn from_raw(raw: RawHandle) -> Self
[src]
Create this handle from its raw part.
fn as_raw(&self) -> RawHandle
[src]
Get the raw part from this handle.
impl Debug for Handle
[src]
impl Clone for Handle
[src]
fn clone(&self) -> Handle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Handle
[src]
impl PartialEq for Handle
[src]
fn eq(&self, __arg_0: &Handle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Handle) -> bool
[src]
This method tests for !=
.
impl Eq for Handle
[src]
impl Hash for Handle
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl LoadProperties for Handle
[src]
const TYPE: u32
TYPE: u32 = ffi::DRM_MODE_OBJECT_FB
fn load_resource_properties<T>(&self, device: &T) -> Result<ResourceProperties> where
T: Device,
[src]
T: Device,