[go: up one dir, main page]

Struct drm::control::ResourceHandles[][src]

pub struct ResourceHandles { /* fields omitted */ }

The set of ResourceHandles that a Device exposes. Excluding Plane resources.

Implementations

impl ResourceHandles[src]

pub fn connectors(&self) -> &[Handle][src]

Returns the set of connector::Handle

pub fn encoders(&self) -> &[Handle][src]

Returns the set of encoder::Handle

pub fn crtcs(&self) -> &[Handle][src]

Returns the set of crtc::Handle

pub fn framebuffers(&self) -> &[Handle][src]

Returns the set of framebuffer::Handle

pub fn filter_crtcs(&self, filter: CrtcListFilter) -> Vec<Handle>[src]

Apply a filter the all crtcs of these resources, resulting in a list of crtcs allowed.

Trait Implementations

impl Clone for ResourceHandles[src]

impl Copy for ResourceHandles[src]

impl Debug for ResourceHandles[src]

impl Eq for ResourceHandles[src]

impl Hash for ResourceHandles[src]

impl PartialEq<ResourceHandles> for ResourceHandles[src]

impl StructuralEq for ResourceHandles[src]

impl StructuralPartialEq for ResourceHandles[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.