pub struct DecodedHandle {
    inner: Rc<RefCell<GenericBackendHandle>>,
    timestamp: u64,
    pub display_order: Option<u64>,
}
Expand description

A decoded frame handle.

Fields

inner: Rc<RefCell<GenericBackendHandle>>

The actual object backing the handle.

timestamp: u64

The timestamp of the input buffer that produced this frame.

display_order: Option<u64>

A monotonically increasing counter that denotes the display order of this handle in comparison with other handles.

Implementations

Creates a new handle

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
The type of the handle used by the backend.
Returns a reference to the container of the backend handle.
Returns the display order for the picture backed by this handle, if set by the decoder.
Sets the display order for the picture backend by this handle
Returns the display resolution at the time this handle was decoded.
Returns the timestamp of the picture.
Returns a shared reference to the backend handle.
Returns a mutable reference to the backend handle.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.