pub struct ChannelLayoutTicket { /* private fields */ }Expand description
The owned mirror of an AVChannelLayout.
The union is discriminated by order, and this type keeps that
discrimination honest: mask is read and written only for the
orders whose union arm is the bitmask, and map only for
AV_CHANNEL_ORDER_CUSTOM, whose arm is a pointer. Reading the
pointer arm as a mask would put a raw address in an owned mirror,
which is the whole thing this type exists to stop.
Implementations§
Source§impl ChannelLayoutTicket
impl ChannelLayoutTicket
Trait Implementations§
Source§impl Clone for ChannelLayoutTicket
impl Clone for ChannelLayoutTicket
Source§fn clone(&self) -> ChannelLayoutTicket
fn clone(&self) -> ChannelLayoutTicket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelLayoutTicket
impl Debug for ChannelLayoutTicket
Source§impl Default for ChannelLayoutTicket
impl Default for ChannelLayoutTicket
Source§fn default() -> ChannelLayoutTicket
fn default() -> ChannelLayoutTicket
Returns the “default value” for a type. Read more
impl Eq for ChannelLayoutTicket
Source§impl Hash for ChannelLayoutTicket
impl Hash for ChannelLayoutTicket
Source§impl PartialEq for ChannelLayoutTicket
impl PartialEq for ChannelLayoutTicket
impl StructuralPartialEq for ChannelLayoutTicket
Auto Trait Implementations§
impl Freeze for ChannelLayoutTicket
impl RefUnwindSafe for ChannelLayoutTicket
impl Send for ChannelLayoutTicket
impl Sync for ChannelLayoutTicket
impl Unpin for ChannelLayoutTicket
impl UnsafeUnpin for ChannelLayoutTicket
impl UnwindSafe for ChannelLayoutTicket
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more