pub struct CodecInfo {
pub id: CodecId,
pub version: String,
pub direction: CodecDirection,
}Expand description
Identity and version of one compiled-in codec implementation.
Returned by available_encoders / available_decoders in rawshift-image.
Serialize-only, because it embeds a CodecId.
Fields§
§id: CodecIdStable implementation identifier.
version: StringBackend version string — a crate version for pure-Rust backends, or a runtime-reported library version for C/C++ backends.
direction: CodecDirectionWhether this entry encodes or decodes.
Implementations§
Trait Implementations§
impl Eq for CodecInfo
impl StructuralPartialEq for CodecInfo
Auto Trait Implementations§
impl Freeze for CodecInfo
impl RefUnwindSafe for CodecInfo
impl Send for CodecInfo
impl Sync for CodecInfo
impl Unpin for CodecInfo
impl UnsafeUnpin for CodecInfo
impl UnwindSafe for CodecInfo
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