Struct libheif_rs::EncoderDescriptor
source · pub struct EncoderDescriptor<'a> { /* private fields */ }
Implementations§
source§impl<'a> EncoderDescriptor<'a>
impl<'a> EncoderDescriptor<'a>
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
A short, symbolic name for identifying the encoder. This name should stay constant over different encoder versions.
sourcepub fn name(&self) -> String
pub fn name(&self) -> String
A long, descriptive name of the encoder (including version information).
pub fn compression_format(&self) -> CompressionFormat
pub fn supports_lossy_compression(&self) -> bool
pub fn supports_lossless_compression(&self) -> bool
Trait Implementations§
source§impl<'a> Clone for EncoderDescriptor<'a>
impl<'a> Clone for EncoderDescriptor<'a>
source§fn clone(&self) -> EncoderDescriptor<'a>
fn clone(&self) -> EncoderDescriptor<'a>
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 more