pub struct RawEncoding { /* private fields */ }Expand description
Section 7.7.1
Implementations§
Trait Implementations§
Source§impl Encoding for RawEncoding
impl Encoding for RawEncoding
fn get_type(&self) -> EncodingType
Source§fn encode(&self) -> &Vec<u8> ⓘ
fn encode(&self) -> &Vec<u8> ⓘ
Transform this encoding from its representation into a byte vector that can be passed to the client.
Source§fn transform(
&self,
input: &PixelFormat,
output: &PixelFormat,
) -> Box<dyn Encoding>
fn transform( &self, input: &PixelFormat, output: &PixelFormat, ) -> Box<dyn Encoding>
Translates this encoding type from an input pixel format to an output format.
Auto Trait Implementations§
impl Freeze for RawEncoding
impl RefUnwindSafe for RawEncoding
impl Send for RawEncoding
impl Sync for RawEncoding
impl Unpin for RawEncoding
impl UnwindSafe for RawEncoding
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