#[repr(u8)]pub enum PcoCompressionLevel {
Show 13 variants
Level0 = 0,
Level1 = 1,
Level2 = 2,
Level3 = 3,
Level4 = 4,
Level5 = 5,
Level6 = 6,
Level7 = 7,
Level8 = 8,
Level9 = 9,
Level10 = 10,
Level11 = 11,
Level12 = 12,
}
Expand description
Pco compression level.
The level ranges from 0 to 12 inclusive (default: 8):
- Level 0 achieves only a small amount of compression.
- Level 8 achieves very good compression.
- Level 12 achieves marginally better compression than 8.
Variants§
Level0 = 0
Level1 = 1
Level2 = 2
Level3 = 3
Level4 = 4
Level5 = 5
Level6 = 6
Level7 = 7
Level8 = 8
Level9 = 9
Level10 = 10
Level11 = 11
Level12 = 12
Trait Implementations§
Source§impl Clone for PcoCompressionLevel
impl Clone for PcoCompressionLevel
Source§fn clone(&self) -> PcoCompressionLevel
fn clone(&self) -> PcoCompressionLevel
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 moreSource§impl Debug for PcoCompressionLevel
impl Debug for PcoCompressionLevel
Source§impl Default for PcoCompressionLevel
impl Default for PcoCompressionLevel
Source§fn default() -> PcoCompressionLevel
fn default() -> PcoCompressionLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PcoCompressionLevel
impl<'de> Deserialize<'de> for PcoCompressionLevel
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PcoCompressionLevel
impl JsonSchema for PcoCompressionLevel
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn always_inline_schema() -> bool
fn always_inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for PcoCompressionLevel
impl PartialEq for PcoCompressionLevel
Source§impl Serialize for PcoCompressionLevel
impl Serialize for PcoCompressionLevel
impl Copy for PcoCompressionLevel
impl Eq for PcoCompressionLevel
impl StructuralPartialEq for PcoCompressionLevel
Auto Trait Implementations§
impl Freeze for PcoCompressionLevel
impl RefUnwindSafe for PcoCompressionLevel
impl Send for PcoCompressionLevel
impl Sync for PcoCompressionLevel
impl Unpin for PcoCompressionLevel
impl UnwindSafe for PcoCompressionLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more