[][src]Struct ffmpeg_sys_next::AVDRMObjectDescriptor

#[repr(C)]pub struct AVDRMObjectDescriptor {
    pub fd: c_int,
    pub size: usize,
    pub format_modifier: u64,
}

DRM object descriptor.

Describes a single DRM object, addressing it as a PRIME file descriptor.

Fields

fd: c_int

DRM PRIME fd for the object.

size: usize

Total size of the object.

(This includes any parts not which do not contain image data.)

format_modifier: u64

Format modifier applied to the object (DRM_FORMAT_MOD_*).

If the format modifier is unknown then this should be set to DRM_FORMAT_MOD_INVALID.

Trait Implementations

impl Clone for AVDRMObjectDescriptor[src]

impl Copy for AVDRMObjectDescriptor[src]

impl Debug for AVDRMObjectDescriptor[src]

impl Eq for AVDRMObjectDescriptor[src]

impl PartialEq<AVDRMObjectDescriptor> for AVDRMObjectDescriptor[src]

impl StructuralEq for AVDRMObjectDescriptor[src]

impl StructuralPartialEq for AVDRMObjectDescriptor[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.