Enum ai::PictureFormat
source · pub enum PictureFormat {
Url,
Binary,
}Variants§
Trait Implementations§
source§impl Clone for PictureFormat
impl Clone for PictureFormat
source§fn clone(&self) -> PictureFormat
fn clone(&self) -> PictureFormat
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 PictureFormat
impl Debug for PictureFormat
source§impl Default for PictureFormat
impl Default for PictureFormat
source§fn default() -> PictureFormat
fn default() -> PictureFormat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PictureFormat
impl<'de> Deserialize<'de> for PictureFormat
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 Ord for PictureFormat
impl Ord for PictureFormat
source§fn cmp(&self, other: &PictureFormat) -> Ordering
fn cmp(&self, other: &PictureFormat) -> Ordering
1.21.0 · 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<PictureFormat> for PictureFormat
impl PartialEq<PictureFormat> for PictureFormat
source§fn eq(&self, other: &PictureFormat) -> bool
fn eq(&self, other: &PictureFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PictureFormat> for PictureFormat
impl PartialOrd<PictureFormat> for PictureFormat
source§fn partial_cmp(&self, other: &PictureFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PictureFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for PictureFormat
impl Serialize for PictureFormat
source§impl ValueEnum for PictureFormat
impl ValueEnum for PictureFormat
impl Copy for PictureFormat
impl Eq for PictureFormat
impl StructuralEq for PictureFormat
impl StructuralPartialEq for PictureFormat
Auto Trait Implementations§
impl RefUnwindSafe for PictureFormat
impl Send for PictureFormat
impl Sync for PictureFormat
impl Unpin for PictureFormat
impl UnwindSafe for PictureFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.