Struct jiao::core::yuva_pixmap::SupportedDataTypes
source · pub struct SupportedDataTypes { /* private fields */ }
Implementations§
source§impl SupportedDataTypes
impl SupportedDataTypes
sourcepub fn supported(&self, config: PlaneConfig, data_type: DataType) -> bool
pub fn supported(&self, config: PlaneConfig, data_type: DataType) -> bool
Checks whether there is a supported combination of color types for planes structured
as indicated by PlaneConfig
with channel data types as indicated by DataType
.
sourcepub fn enable_data_type(&mut self, _data_type: DataType, _num_channels: i32)
pub fn enable_data_type(&mut self, _data_type: DataType, _num_channels: i32)
Update to add support for pixmaps with num_channel
channels where each channel is
represented as DataType
.
Trait Implementations§
source§impl Clone for SupportedDataTypes
impl Clone for SupportedDataTypes
source§fn clone(&self) -> SupportedDataTypes
fn clone(&self) -> SupportedDataTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SupportedDataTypes
impl RefUnwindSafe for SupportedDataTypes
impl Send for SupportedDataTypes
impl Sync for SupportedDataTypes
impl Unpin for SupportedDataTypes
impl UnwindSafe for SupportedDataTypes
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