#[repr(C)]pub struct AVDRMPlaneDescriptor {
pub object_index: c_int,
pub offset: isize,
pub pitch: isize,
}展开描述
DRM plane descriptor.
Describes a single plane of a layer, which is contained within a single object.
Fields§
§object_index: c_intIndex of the object containing this plane in the objects array of the enclosing frame descriptor.
offset: isizeOffset within that object of this plane.
pitch: isizePitch (linesize) of this plane.
trait 实现§
源代码§impl Clone for AVDRMPlaneDescriptor
impl Clone for AVDRMPlaneDescriptor
源代码§fn clone(&self) -> AVDRMPlaneDescriptor
fn clone(&self) -> AVDRMPlaneDescriptor
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVDRMPlaneDescriptor
impl Debug for AVDRMPlaneDescriptor
源代码§impl PartialEq for AVDRMPlaneDescriptor
impl PartialEq for AVDRMPlaneDescriptor
impl Copy for AVDRMPlaneDescriptor
impl Eq for AVDRMPlaneDescriptor
impl StructuralPartialEq for AVDRMPlaneDescriptor
自动 trait 实现§
impl Freeze for AVDRMPlaneDescriptor
impl RefUnwindSafe for AVDRMPlaneDescriptor
impl Send for AVDRMPlaneDescriptor
impl Sync for AVDRMPlaneDescriptor
impl Unpin for AVDRMPlaneDescriptor
impl UnsafeUnpin for AVDRMPlaneDescriptor
impl UnwindSafe for AVDRMPlaneDescriptor
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多