pub enum InputFidelity {
Low,
High,
}Expand description
Fidelity used when processing image inputs.
Variants§
Trait Implementations§
Source§impl Clone for InputFidelity
impl Clone for InputFidelity
Source§fn clone(&self) -> InputFidelity
fn clone(&self) -> InputFidelity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputFidelity
Source§impl Debug for InputFidelity
impl Debug for InputFidelity
Source§impl<'de> Deserialize<'de> for InputFidelity
impl<'de> Deserialize<'de> for InputFidelity
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 Display for InputFidelity
impl Display for InputFidelity
impl Eq for InputFidelity
Source§impl Hash for InputFidelity
impl Hash for InputFidelity
Source§impl JsonSchema for InputFidelity
impl JsonSchema for InputFidelity
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
Source§fn inline_schema() -> bool
fn 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 Ord for InputFidelity
impl Ord for InputFidelity
Source§fn cmp(&self, other: &InputFidelity) -> Ordering
fn cmp(&self, other: &InputFidelity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputFidelity
impl PartialEq for InputFidelity
Source§impl PartialOrd for InputFidelity
impl PartialOrd for InputFidelity
Source§impl Serialize for InputFidelity
impl Serialize for InputFidelity
impl StructuralPartialEq for InputFidelity
Auto Trait Implementations§
impl Freeze for InputFidelity
impl RefUnwindSafe for InputFidelity
impl Send for InputFidelity
impl Sync for InputFidelity
impl Unpin for InputFidelity
impl UnsafeUnpin for InputFidelity
impl UnwindSafe for InputFidelity
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