pub struct Descriptor { /* 私有字段 */ }实现§
源代码§impl Descriptor
impl Descriptor
pub fn as_ptr(self) -> *const AVPixFmtDescriptor
pub fn name(self) -> &'static str
pub fn nb_components(self) -> u8
pub fn log2_chroma_w(self) -> u8
pub fn log2_chroma_h(self) -> u8
trait 实现§
源代码§impl Clone for Descriptor
impl Clone for Descriptor
源代码§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 PartialEq for Descriptor
impl PartialEq for Descriptor
impl Copy for Descriptor
impl Eq for Descriptor
impl Send for Descriptor
impl StructuralPartialEq for Descriptor
impl Sync for Descriptor
自动 trait 实现§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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
从拥有的值可变地借用。 阅读更多