#[repr(C)]pub struct AVStreamGroupTileGrid__bindgen_ty_1 {
pub idx: c_uint,
pub horizontal: c_int,
pub vertical: c_int,
}展开描述
An @ref nb_tiles sized array of offsets in pixels from the topleft edge of the canvas, indicating where each stream should be placed. It must be allocated with the av_malloc() family of functions.
- demuxing: set by libavformat, must not be modified by the caller.
- muxing: set by the caller before avformat_write_header().
Freed by libavformat in avformat_free_context().
Fields§
§idx: c_uintIndex of the stream in the group this tile references.
Must be < @ref AVStreamGroup.nb_streams “nb_streams”.
horizontal: c_intOffset in pixels from the left edge of the canvas where the tile should be placed.
vertical: c_intOffset in pixels from the top edge of the canvas where the tile should be placed.
trait 实现§
源代码§impl Clone for AVStreamGroupTileGrid__bindgen_ty_1
impl Clone for AVStreamGroupTileGrid__bindgen_ty_1
源代码§fn clone(&self) -> AVStreamGroupTileGrid__bindgen_ty_1
fn clone(&self) -> AVStreamGroupTileGrid__bindgen_ty_1
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 Copy for AVStreamGroupTileGrid__bindgen_ty_1
impl Eq for AVStreamGroupTileGrid__bindgen_ty_1
impl StructuralPartialEq for AVStreamGroupTileGrid__bindgen_ty_1
自动 trait 实现§
impl Freeze for AVStreamGroupTileGrid__bindgen_ty_1
impl RefUnwindSafe for AVStreamGroupTileGrid__bindgen_ty_1
impl Send for AVStreamGroupTileGrid__bindgen_ty_1
impl Sync for AVStreamGroupTileGrid__bindgen_ty_1
impl Unpin for AVStreamGroupTileGrid__bindgen_ty_1
impl UnsafeUnpin for AVStreamGroupTileGrid__bindgen_ty_1
impl UnwindSafe for AVStreamGroupTileGrid__bindgen_ty_1
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
从拥有的值可变地借用。 阅读更多