#[repr(C)]pub enum EncodePolicy {
Auto = 0,
Fast = 1,
Size = 2,
}Expand description
Policy used when encoding
Variants§
Auto = 0
Fast = 1
Encode as fast as posible
Size = 2
Encode to the smallest sixel sequence as possible
Trait Implementations§
Source§impl Clone for EncodePolicy
impl Clone for EncodePolicy
Source§fn clone(&self) -> EncodePolicy
fn clone(&self) -> EncodePolicy
Returns a duplicate 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 moreSource§impl Debug for EncodePolicy
impl Debug for EncodePolicy
Source§impl Hash for EncodePolicy
impl Hash for EncodePolicy
Source§impl PartialEq for EncodePolicy
impl PartialEq for EncodePolicy
impl Copy for EncodePolicy
impl Eq for EncodePolicy
impl StructuralPartialEq for EncodePolicy
Auto Trait Implementations§
impl Freeze for EncodePolicy
impl RefUnwindSafe for EncodePolicy
impl Send for EncodePolicy
impl Sync for EncodePolicy
impl Unpin for EncodePolicy
impl UnwindSafe for EncodePolicy
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